You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an option to delete the vdi on vagrant destroy?
If I do vagrant destroy, delete the vdi on the host, then do vagrant up I get the following error:
==> default: ** Creating persistent storage **
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["createhd", "--filename", "secondDisk.vdi", "--size", "5000"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: E_INVALIDARG
VBoxManage.exe: error: Failed to create medium
VBoxManage.exe: error: Cannot register the hard disk 'C:\Projects\GitHub\test\secondDisk.vdi' {8166ff94-8866-44c9-93d8-18023f14d47b} because a hard disk 'C:\Projects\GitHub\test\secondDisk.vdi' with UUID {2e06f6f0-e768-4e07-a5f1-de1412fdb409} already exists
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreateMedium(struct HandlerArg *)" at line 450 of file VBoxManageDisk.cpp
How do I destroy the vdi?
The text was updated successfully, but these errors were encountered:
Is there an option to delete the vdi on vagrant destroy?
If I do
vagrant destroy
, delete the vdi on the host, then dovagrant up
I get the following error:How do I destroy the vdi?
The text was updated successfully, but these errors were encountered: