Skip to content

Instantly share code, notes, and snippets.

@jottr
Last active December 20, 2015 02:49
Show Gist options
  • Save jottr/6058792 to your computer and use it in GitHub Desktop.
Save jottr/6058792 to your computer and use it in GitHub Desktop.
speed up vagrant && virtualbox

Anecdotally, Using NFS with Vagrant / Virtualbox instead of the default Virtualbox shared folder speeds up things drastically. Add the following line in your Vagrantfile to test it out:

config.vm.share_folder "/vagrant", "/vagrant", "./", :nfs => true

Also, tweaking the DNS settings seems to help:

vb.customize ["modifyvm", :id, "--natdnshostresolver1", "off"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "off"]

source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment