Opened 7 years ago
Closed 7 years ago
#16888 closed defect (invalid)
--cableconnected1 on/off fails when VM is running
Reported by: | ludodude | Owned by: | |
---|---|---|---|
Component: | network | Version: | VirtualBox 5.1.22 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
I can't seem to disconnect a network cable with vboxmanage when the VM is running, even though I can do it from the GUI.
This is what I get:
C:>vboxmanage modifyvm centos1 --cableconnected1 off VBoxManage.exe: error: The machine 'centos1' is already locked for a session (or being unlocked) VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee IUnknown VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 507 of file VBoxManageModifyVM.cpp
I am running Version 5.1.23 r116680 (Qt5.6.2)
Note:
See TracTickets
for help on using tickets.
When the VM is running you need to use
controlvm
command.