We have a couple of test VMs which we use to test software on. We would like to have a virtual machine revert back to a saved state everytime the VM restarts.
I believe virtualbox calls this feature "Read-Only Mode". I know I can manually revert to a snapshot each time however I would like to automate this process.
Does anyone have any ideas?
Thanks
Best Answer
Yes, you can make your reference .vhd read-only and attach a Differencing Disk:
This has a performance penalty though, like running off many parent snapshots, but it most probably will not be noticeable unless your server is very busy.
I cannot remember if you can set the VM to always start from the parent image, but I think you can. Someone must have made a PowerShell script to do it at worst.