scalefactory/vagrant-multiprovider-snap — pull request #5 by supercow (2013-09-23 06:14:47+00:00)
Title: Check if VM is already powered off before halting

Before this commit, rolling back a snapshot from a VM in a poweroff
state results in the below error:

Stderr: VBoxManage: error: Invalid machine state: PoweredOff (must be
Running, Paused or Stuck)

This commit adds a check to skip the halting step if the machine is
already off.