程式扎記: [ VMware 常見問題 ] Command Line Application for Automatic Launching VM

標籤

2015年8月25日 星期二

[ VMware 常見問題 ] Command Line Application for Automatic Launching VM

Source From Here 
Preface 
VMware Workstation includes a separate application, vmrun, for operating teams or virtual machines from the command line. To launch the vmrun application, from the command prompt, enter: 
vmrun COMMAND [OPTION]


Usage 
Valid vmrun commands and options are described in the following table: 
 

Note. Before running this command on a Windows host, you must do one of the following: 
* Change your working directory to the VMware Workstation directory. The default location is: c:\Program Files\VMware\VMware Workstation
* Add the VMware Workstation directory to the system path.

Examples for vmrun 
For example, to start a virtual machine: 
- In a Linux terminal, enter 
# vmrun start /usr/local/VMs/<virtual_machine_name>.vmx

- On the Windows command line, enter: 
$ vmrun start c:\My Virtual Machines\<virtual_machine_name>.vmx

With virtual machines that require input through a VMware Workstation dialog box, vmrun may time out and fail. To disable Workstation dialog boxes, insert the following line into the .vmx configuration file for a virtual machine: msg.autoAnswer = TRUE

沒有留言:

張貼留言

網誌存檔

關於我自己

我的相片
Where there is a will, there is a way!