VMWare Fusion + Command Line

You can use the vmrun command-line utility in VMware Fusion to control virtual machines and automate guest operations on VMware virtual machines. The vmrun utility is associated with the VIX API libraries.

Ejemplos

'/Applications/VMware Fusion.app/Contents/Library/vmrun' 

'/Applications/VMware Fusion.app/Contents/Library/vmrun' -T fusion list

'/Applications/VMware Fusion.app/Contents/Library/vmrun' -T fusion getGuestIPAddress '/Virtual Machines/RHEL7.vmwarevm/RHEL7.vmx'
 
'/Applications/VMware Fusion.app/Contents/Library/vmrun' -T fusion -gu root -gp MyPassw0rd listProcessesInGuest '/Virtual Machines/RHEL7.vmwarevm/RHEL7.vmx'

'/Applications/VMware Fusion.app/Contents/Library/vmrun' -T fusion -gu root -gp MyPassw0rd runScriptInGuest '/Virtual Machines/RHEL7.vmwarevm/RHEL7.vmx' /usr/bin/bash '/root/test.sh



'/Applications/VMware Fusion.app/Contents/Library/vmrun' -T fusion clone '/Virtual Machines/RHEL7.vmwarevm/RHEL7.vmx' '/Virtual Machines/RHEL7-CLONE.vmwarevm/RHEL7-CLONE.vmx' full -cloneName=RHEL7-CLONE

'/Applications/VMware Fusion.app/Contents/Library/vmrun' -T fusion start '/Virtual Machines/RHEL7-CLONE.vmwarevm/RHEL7-CLONE.vmx'
  • vmware/vmware_fusion_cli.txt
  • Última modificación: hace 5 meses
  • por Fernando Leal