Always revert to snapshot on close?

This is for discussing general topics about how to use VirtualBox.
Post Reply
tramonjr
Posts: 2
Joined: 18. Dec 2009, 17:42
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: OpenSUSE

Always revert to snapshot on close?

Post by tramonjr »

Hi,
I am about to deploy VirtualBox in a university computer lab. Host OS is Windows XP, the guest OS is OpenSUSE.
Ideally I want to lock the guest OS so that when a student is done with it and they log off, the next student can use the guest OS in a pristine state.
Is there a way to set the guest OS to always revert to a snapshot when closed? Something like DeepFreeze?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Always revert to snapshot on close?

Post by Perryg »

You can convert the HDD to immutable and once shutdown it will not save the state. However I do not know if this would work using snapshots. I have never tried it with snapshots.
See VBoxManage modifyhd in the VirtualBox users guide.
tramonjr
Posts: 2
Joined: 18. Dec 2009, 17:42
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: OpenSUSE

Re: Always revert to snapshot on close?

Post by tramonjr »

Thanks. Yes, that is what I am trying to do: convert the disk to immutable. Do you know where there are decent how-to's on this process?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Always revert to snapshot on close?

Post by Perryg »

Nothing other then the VirtualBox Users Guide that is included with the program.
See specifically 5.4. Special image write modes
You may find some tutorials on the internet though. I have not searched.
Just put convert normal to immutable in VirtualBox in Google
Post Reply