Skip to content

Instantly share code, notes, and snippets.

@kixxauth
Created March 18, 2013 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kixxauth/5190450 to your computer and use it in GitHub Desktop.
Save kixxauth/5190450 to your computer and use it in GitHub Desktop.
Vagrant 1.1.1 error
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /webapp
[default] -- /vagrant
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.1/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:16:in `call': uninitialized constant VagrantPlugins::ProviderVirtualBox::Action::PrepareNFSSettings::Errors (NameError)
@ChickenFur
Copy link

I was having the same problem.

@kenrose
Copy link

kenrose commented Mar 18, 2013

I also just encountered this. Looks like it's a small typo in Vagrant. Do the following to fix it:

  • Open up prepare_nfs_settings.rb in an editor run as root (e.g., sudo vim prepare_nfs_settings.rb)
  • Go to line 16 and replace Errors::NFSNoHostonlyNetwork with Vagrant::Errors::NFSNoHostonlyNetwork

This issue only occurs if you have NFS on a host only network with no static IP assigned.

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