|
发表于 2014-4-8 10:05:36
|
显示全部楼层
本帖最后由 TiGi 于 4-30-2012 12:10 编辑
具体查看“vSphere Command-Line Interface Concepts and Examples”吧。
Reset. When you reset the virtual machine with the soft power_op mode (the default), the guestoperating system is shut down before the reset.
If VMware Tools is not currently installed on the virtual machine, you can perform only a hard reset operation.
a Check that VMware tools is installed so that you can reset the virtual machine with the default power_op mode, which is soft.
vmware-cmd -H -U -P --vihost /vmfs/volumes/Storage2/testvm/testvm.vmx gettoolslastactive
b Use the reset option to shut down and restart the virtual machine.
vmware-cmd -H -U -P --vihost /vmfs/volumes/Storage2/testvm/testvm.vmx reset soft |
沙发
2014-4-8 10:05:36
回复(0)
收起回复
|