Skip to content

Instantly share code, notes, and snippets.

@christophengelmayer
Created November 22, 2016 15:52
Show Gist options
  • Save christophengelmayer/5304c515682a1963a5055bbe964da407 to your computer and use it in GitHub Desktop.
Save christophengelmayer/5304c515682a1963a5055bbe964da407 to your computer and use it in GitHub Desktop.
Vagrant Scotchbox customized
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
config.vm.synced_folder ".", "/var/www/public", :mount_options => ["dmode=777", "fmode=666"]
# Optional NFS. Make sure to remove other synced_folder line too
#config.vm.synced_folder ".", "/var/www", :nfs => { :mount_options => ["dmode=777","fmode=666"] }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment