vmware fusion shortcut management scripts based on the vmrun cli.
For Linux release version, developers only need to enable virtual machine instance in most scenarios, no GUI is running, and VMware does not provide relevant management commands, and there is no need to start VMware It is convenient for developers to input and close the application, and it is convenient for developers to input and close the application.
You can make relevant task scripts and development configurations according to your own needs.
Related support:
graph LR
A[fusion-vmcli]
A -->B[install]
A -->C[config]
A -->D[command]
B --> B1( brew tap usrlab/tap <br /> brew install vmware-fusion-vmcli-nogui )
C --> C1> /usr/local/etc/fusion-vmcli.conf ]
D --> D1( Help Document )
System application default path:
~/Documents/Virtual\ Machines.localized
The tap sources are located under the usrlab@Github organization:
brew tap usrlab/tap
brew install vmware-fusion-vmcli-nogui
or
brew install usrlab/tap/vmware-fusion-vmcli-nogui
mkdir -p ~/VmwareFusionPro
vim /usr/local/etc/fusion-vmcli.conf
The command line:
fusion-vmcli -h
[usage]: [-l | list] [start|stop|suspend|pause|unpause <number>] [-h | -help | --help] [-v | -V | --version]
[helptext]
-h|help : Show help info.
-l|list : default[None parameters] show VMs list and VMs status.
start|stop|suspend|pause|unpause [number] :
Start the corresponding virtual machine [Linux based distribution only].
Notice: default show VMs list.
There are two ways of script: parameter and interactive
1.interactive:
fusion-vmcli
2.parameter:
fusion-vmcli start 1