Vmrun: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
(thanks http://communities.vmware.com/people/mattrich for mentioning the GUI limitations)
 
mNo edit summary
Line 23: Line 23:
* Power on the VM using the 'nogui' option  
* Power on the VM using the 'nogui' option  
* Change the shared folder settings (add, remove, enable) of a powered off or suspended VM
* Change the shared folder settings (add, remove, enable) of a powered off or suspended VM
[[Category: VIX]]

Revision as of 11:43, 7 July 2009

vmrun is a command line utility that can be used to run certain automation tasks easily. It is easy to make it part of a script and do things like start a particular VM, create a snapshot, run a program in the guest, etcetera.


Limitations while running the VM in the GUI

There are some things you can't do things while the VM is open in the UI, but other things should work.

Things you can do:

  • Power off the VM
  • Suspend the VM
  • Create a snapshot
  • Revert to a snapshot (need to verify)
  • Pause and unpause the VM
  • Power on the VM using the 'gui' option
  • Perform guest operations (runProgramInGuest, listDirectoryInGuest, etc.)
  • Start and stop recording
  • Mount the Tools installer
  • Run any vProbes commands
  • Change the shared folder settings (add, remove, enable) of a running VM.

Things you cannot do:

  • Upgrade the VM's virtual hardware
  • Power on the VM using the 'nogui' option
  • Change the shared folder settings (add, remove, enable) of a powered off or suspended VM