Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.hostname = "myproject.dev"
config.vm.network :private_network, ip: "192.168.56.102"
config.ssh.forward_agent = true
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 1024]
v.customize ["modifyvm", :id, "--name", "myproject_dev_vm"]
end
config.vm.synced_folder ".", "/var/www", type: "nfs"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment