Saturday, March 22, 2014

Mac OS Vagrant interfaces failure

If You see this:
....
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["hostonlyif", "create"]

Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
Just do this:
$ sudo /Library/StartupItems/VirtualBox/VirtualBox restart
It will re-create virtual adapters for VB installation.