Skip to content

Instantly share code, notes, and snippets.

@kixxauth
Created March 18, 2013 20:19
Show Gist options
  • 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)
@elidickinson
Copy link

Well at least I'm not the only one. Any ideas?

@Bobalot
Copy link

Bobalot commented Mar 18, 2013

Same, just installed 1.1.1 this evening and getting this problem. Went back to the download site to find and earlier version and there was a 1.1.2 version and the problem is fixed.

@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