虚拟机控制
#############虚拟机控制#############
###开启虚拟机###
[kiosk@foundation13 ~]$ rht-vmctl start desktop
Starting desktop.
###显示虚拟机窗口###
[kiosk@foundation13 ~]$ rht-vmctl view desktop
###关闭虚拟机###
[kiosk@foundation13 ~]$ rht-vmctl poweroff desktop
Powering off desktop.
###重置虚拟机###
[kiosk@foundation13 ~]$ rht-vmctl reset desktop
###重新获取虚拟机###
[kiosk@foundation13 ~]$ rht-vmctl fullreset desktop
---------------------------------------------------------------------------------------------------------------
#####rht-vmctl的所有指令和参数#########
This utility manages the Red Hat Training supplied VMs on the local
hypervisor.
Usage: rht-vmctl [-q|--quiet] VMCMD VMNAME
rht-vmctl -h|--help
where VMCMD is one of:
reset - poweroff, return to saved or original state, start VMNAME
view - launches console viewer of VMNAME
start - obtain and start up VMNAME
stop - stop a running VMNAME
poweroff - if running, force stop VMNAME
save - stop, backup image, start VMNAME
restore - poweroff, restore image, start VMNAME
fullreset - poweroff, reobtain from server, start VMNAME (bad save/image)
get - if not here, obtain VMNAME from server
status - display libvirt status of VMNAME
#############进入系统#############
student 普通用户,密码:student
root 超级用户,密码:redhat
推送环境
rht-pushcourse
host
本文来自希曼博客-www.ximan.tech,作者:希曼博客,转载请注明原文链接:https://www.cnblogs.com/lihuaichen/p/10128445.html