Last active
December 31, 2015 06:39
-
-
Save spmurrayzzz/7948971 to your computer and use it in GitHub Desktop.
High-performing Vagrant settings
This file contains 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
# Note: If you're serving files via shared folders, for christs sake use NFS | |
# but that does require private networking. | |
# | |
# The DNS settings were the ones that made the most difference, so if you're resource | |
# constrained, the last two settings were the ones that helped the most. | |
config.vm.provider :virtualbox do |vb| | |
vb.customize ["modifyvm", :id, "--memory", "1024"] | |
vb.customize ["modifyvm", :id, "--cpuexecutioncap", "90"] | |
vb.customize ["modifyvm", :id, "--cpus", 2] | |
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment