在redhat enterprise 5.3安裝了vmware workstation,如何用vmware 指令行啟動指定虛拟機?
/usr/bin/vmware[root@node0 ~]# /usr/bin/vmware --help-all
用法:
vmware [選項...] [--] [configuration file(s)]
幫助選項:
-?, --help 顯示幫助選項
--help-all 顯示全部幫助選項
--help-gtk 顯示 gtk+ 選項
gtk+ options
--class=類 視窗管理其所使用的程式類
--name=名稱 視窗管理其所使用的程式名
--screen=螢幕 要使用的 x 螢幕
--sync 同步調用 x
--gtk-module=子產品 裝入額外的 gtk+ 子產品
--g-fatal-warnings 将警告變為嚴重
應用程式選項:
-m, --quickswitch start in quick switch mode
-n, --new-window open a new window
-q, --close-at-power-off close configuration file(s) at power off
-s, --set=key=value set vmx option
-t, --new-tab open configuration file(s) in a new tab
-v, --version output version information and exit
-x, --power-on power on when configuration file(s) are opened
-x, --power-on-in-fullscreen power on and go to full screen mode
--geometry=geometry specify a window geometry
--display=顯示 要使用的 x 顯示
[root@node0 ~]# /usr/bin/vmware -x "/root/vmware/windows xp professional/windows xp professional.vmx" &
如開機啟動虛拟機後,自動打開指定路徑下的.vmx檔案,如下所示:
"c:\program files (x86)\vmware\vmware workstation\vmware.exe" -x -- f:\elastixa\elastixa.vmx
分類 linux