您的位置:首页 > 其它

虚拟机控制

2018-01-15 14:03 197 查看
#############虚拟机控制#############

###开启虚拟机###
[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
4000

status - display libvirt status of VMNAME

#############进入系统#############
student 普通用户,密码:student
root 超级用户,密码:redhat
推送环境
rht-pushcourse
host
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: