Created
September 20, 2013 18:00
-
-
Save schmidtsonian/6641367 to your computer and use it in GitHub Desktop.
vagrant speed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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