virtualbox虚拟机后台启停

CCoder 2020-06-13

1.  查看虚拟机:~/Desktop$ VBoxManage list vms"centos6.9" {98194687-736b-4b70-b902-1decef889cd5}2.  启动虚拟机:~/Desktop$ VBoxManage startvm centos6.9 -type headlessWaiting for VM "centos6.9" to power on...VM "centos6.9" has been successfully started.3.  查看正在运行的虚拟机:~/Desktop$ VBoxManage list runningvms"centos6.9" {98194687-736b-4b70-b902-1decef889cd5}4.  保存虚拟机状态并停机:~/Desktop$ VBoxManage controlvm centos6.9 savestate0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%再次启动,需要使用 VBoxManage startvm centos6.9 -type headless5.  停止虚拟机:~/Desktop$ VBoxManage controlvm centos6.9 poweroff0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

相关推荐