2016-02-25 16 views
2

使用Laravel Homestead並讓我第一次遇到一個狂野的殭屍虛擬機,我無法摧毀它。使用vboxmanage刪除已保存並鎖定的殭屍虛擬機

$Vagrant global-status 
...Nothing 

$vboxmanage list vms 
..."homestead-7" {a00faea2-9b77-466d-beac-ab892dc0f0c9} 

$vboxmanage unregistervm homestead-7 --delete 
...VBoxManage: error: Cannot unregister the machine 'homestead-7' while it is locked 

$vboxmanage startvm homestead-7 
...VBoxManage: error: The machine 'homestead-7' is already locked by a session (or being locked or unlocked) 
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports 
VBoxManage: error: Context: "LaunchVMProcess(a->session, sessionType.raw(), env.raw(), progress.asOutParam())" at line 589 of file VBoxManageMisc.cpp 

回答