osmates snapshot revert
Return a machine to a snapshot.
osmates snapshot revert <machine> <snapshot>The machine as it is now is saved first, unless its policy says not to (snapshot auto). Then a running machine is turned off without its guest shutting down, one shutting down is waited for, and a suspended one's saved memory is discarded. A snapshot with memory resumes the machine where it was, with the processors, memory and display it had; one without boots it again if it was running. A machine the revert turned off starts again with its run's window and network choice. What the machine wrote since the snapshot is lost, with writes to its shares the guest still held.
Arguments
<machine>RequiredThe machine's name or identifier.
<snapshot>RequiredThe snapshot's name or identifier.