Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

elidickinson commented Mar 18, 2013

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

@Bobalot

This comment has been minimized.

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

This comment has been minimized.

Copy link

ChickenFur commented Mar 18, 2013

I was having the same problem.

@kenrose

This comment has been minimized.

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
You can’t perform that action at this time.