VMware Fusion Command Line Virtual Machine Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Start Headless

"/Applications/VMware Fusion.app/Contents/Library/vmrun"  \ 
 start \
 "/Users/ovidiu/VMware Fusion VMs/OpenShift/OpenShift 3.5 Minimal/support.openshift35min.local.vmwarevm/support.openshift35min.local.vmx" \
 nogui


Conventionally, a <vm-name>-start is placed in "/Users/ovidiu/VMware Fusion VMs" or the directory that contains the profile.

Stop

"/Applications/VMware Fusion.app/Contents/Library/vmrun"  \
  stop \
  "/Users/ovidiu/VMware Fusion VMs/OpenShift/OpenShift 3.5 Minimal/node2.openshift35min.local.vmwarevm/OpenShift node template.vmx"