虚拟机的启动与关闭
- 虚拟机的启动-------- rht-vmctl start desktop
- 虚拟机的状态-------- rht-vmctl status desktop
- 显示虚拟机----------- rht-vmctl status desktop
- 重置虚拟机----------- rht-vmctl reset desktop
- 逐步关闭虚拟机----- rht-vmctl stop desktop
- 直接关闭虚拟机----- rht-vmctl poweroff desktop
可能遇到的错误
【将rht-vmctl命令输入错误,错误则无法执行命令】
rht-vmclt(vmctl) start desktop
错误提示:
bash: rht-vmtll: command not found…
【将start参数输入错误,会提示你那些参数可以使用】
[kiosk@foundation24 ~]$ rht-vmctl stat(start) desktop
错误提示:
This utility manages the Red Hat Training supplied VMs on the local hypervisor.
Usage: rht-vmctl [-q|–quiet] VMCMD VMNAME [DATETIME]
rht-vmctl -h|–help
where VMCMD is one of(如下参数