Skip to content

Instantly share code, notes, and snippets.

@schmidtsonian
Created September 20, 2013 18:00
Show Gist options
  • Save schmidtsonian/6641367 to your computer and use it in GitHub Desktop.
Save schmidtsonian/6641367 to your computer and use it in GitHub Desktop.
vagrant speed
Vagrant.configure("2") do |config|
config.vm.box = 'precise32'
config.vm.network :forwarded_port, guest: 3000, host: 3000
config.vm.network :private_network, ip: "10.11.12.13"
config.vm.synced_folder ".", "/vagrant", nfs: true
#inside vagrant box run the following line to activate NFS
#$ sudo apt-get install nfs-common portmap
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.provision :puppet,
:manifests_path => 'puppet/manifests',
:module_path => 'puppet/modules'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment