- In the directory where your
Vagrantfile
is located, run the following command and copy the ID of your VM
VBoxManage list vms
=> "virtualMachine" {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
- Go to the Vagrant project configuration folder
cd .vagrant/machines/default/virtualbox
- Create a file called
id
without a newline and the ID of your VMxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
echo -n 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' > id
- Run Vagrant with new config
vagrant up