项目作者: ljq

项目描述 :
vmware fusion shortcut management scripts based on the vmrun cli.
高级语言: Shell
项目地址: git://github.com/ljq/vmware-fusion-vmcli-nogui.git
创建时间: 2020-11-29T08:29:38Z
项目社区:https://github.com/ljq/vmware-fusion-vmcli-nogui

开源协议:MIT License

下载


Vmware fusion virtual machine management cli(nogui) shortcut script

Description

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:

  • Read the list of all virtual machine instances in the system or custom path (supports virtual host names with spaces)
  • Virtual machine instance specified by no interface shortcut
  • List|start|stop|suspend|pause|pause|unpause operation is satisfied based on vmrun
  • homebrew-tap Formula(usrlab/tap)
  • Configuration file support
  • Disk space collection based on Linux hairstyle instance
  • Multipath support
  • clone virtual machine instance, customize network parameter configuration, make it convenient for developers to create instances at low cost
  • HomeBrew Formula

fusion-fwk

  1. graph LR
  2. A[fusion-vmcli]
  3. A -->B[install]
  4. A -->C[config]
  5. A -->D[command]
  6. B --> B1( brew tap usrlab/tap <br /> brew install vmware-fusion-vmcli-nogui )
  7. C --> C1> /usr/local/etc/fusion-vmcli.conf ]
  8. D --> D1( Help Document )
homebrew-tap and install

System application default path:

  1. ~/Documents/Virtual\ Machines.localized

homebrew-tap

The tap sources are located under the usrlab@Github organization:

  1. brew tap usrlab/tap
  2. brew install vmware-fusion-vmcli-nogui

or

  1. brew install usrlab/tap/vmware-fusion-vmcli-nogui
  1. mkdir -p ~/VmwareFusionPro
  2. vim /usr/local/etc/fusion-vmcli.conf
Useage

The command line:

  1. fusion-vmcli -h
  1. [usage]: [-l | list] [start|stop|suspend|pause|unpause <number>] [-h | -help | --help] [-v | -V | --version]
  2. [helptext]
  3. -h|help : Show help info.
  4. -l|list : default[None parameters] show VMs list and VMs status.
  5. start|stop|suspend|pause|unpause [number] :
  6. Start the corresponding virtual machine [Linux based distribution only].
  7. Notice: default show VMs list.

There are two ways of script: parameter and interactive

  • 1.interactive:

    1. fusion-vmcli

    interactive

  • 2.parameter:

    1. fusion-vmcli start 1

    parameter