Fusion

 View Only

vmrun -T fusion revertToSnapshot failing

  • 1.  vmrun -T fusion revertToSnapshot failing

    Posted Jul 28, 2011 05:13 PM

    I'm trying to automate an installation test. I want to stop a VM, revert it to a blank snapshot and restart it. When I attempt to revert to the blank snapshot:

    vmrun -T fusion revertToSnapshot ~/Documents/Virtual\ Machines.localized/test.vmwarevm/test.vmx blank

    Error: This operation cannot be done while the VM is in use by VMware Fusion. Please exit Fusion and try again.

    Fusion is running, but the VM is not. I can't kill Fusion because other VMs are running. Is there a way to revert the VM?

    joe