VMware Fusion Command Line Virtual Machine Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * =Stop= <pre> /Applications/VMware Fusion.app/Contents/Library/vmrun </pre>")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=


*  
* [[VMware_Fusion_Operations#Procedures|VMware Fusion Operations]]
 
=Start Headless=
 
<syntaxhighlight lang='bash'>
#!/bin/bash
 
"/Applications/VMware Fusion.app/Contents/Library/vmrun" start "/Users/ovidiu/VMware Fusion VMs/centos-docker-server.vmwarevm/centos-docker-server.vmx" nogui
</syntaxhighlight>
 
Conventionally, a <''vm-name''>-start is placed in "/Users/ovidiu/VMware Fusion VMs" or the directory that contains the profile.


=Stop=
=Stop=


<pre>
<pre>
/Applications/VMware Fusion.app/Contents/Library/vmrun  
"/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"
</pre>
</pre>

Latest revision as of 22:41, 4 December 2017

Internal

Start Headless

#!/bin/bash

"/Applications/VMware Fusion.app/Contents/Library/vmrun" start "/Users/ovidiu/VMware Fusion VMs/centos-docker-server.vmwarevm/centos-docker-server.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"