I’ve recently started using Vagrant for building local VMs with VirtualBox. It’s a great way to test out my Chef cookbooks.
I recently ran into an error after a system crash. When I tried to run:
1
|
|
the following error was reported:
1 2 |
|
To successfully run VBoxManage import, you first need to locate the .ovf file used by Vagrant when building your VM. Typically, you’ll find your box definitions in the ~/.vagrant/boxes
directory. So, I tried to run the command specified from there:
1 2 3 4 5 6 7 8 9 10 |
|
To get around this, I simply removed ~/Library/VirtualBox/VirtualBox.xml
. I was then able to vagrant up and continue on with my Chef cookbook.