virtualbox manager命令小记
- virtualbox 控制虚拟机
VBoxManage list runningvms
- 列出运行的虚拟机 (返回名称和UUID):
VBoxManage list runningvms
- Stop running VMs by "hibernating" them (reommended to avoid data loss)
VBoxManage controlvm <name|uuid> savestate
- Poweroff running VMs (not recommended because we may lose data in the guest)
VBoxManage controlvm <name|uuid> poweroff
-
启动vm
VBoxManage startvm "VM name" --type headless
VBoxManage guestproperty enumerate "Ubuntu 16.04"
How to open a terminal in Ubuntu running on virtual box if the usual shortcuts don't work