Hi,
I have VirtualBox box 3.0.0 setup on a Ubuntu server. I have setup a simple Web UI so that it is easy for our QA Engineers to create and destroy virtual machines. I am using the VBoxManage command to control the VM and on shutdown if the "VBoxManage controlvm <vmname> icpipowerbutton" command does not shut the machine down in time I simple execute the "VBoxManage controlvm <vmname> poweroff" command to shut it down. This works fine except for the fact that it saves the state every time I user the poweroff command. I do not need or want the saved state so all it does is take up space on the hard drive that I have to go in and manual clean up later. I am wondering is there some option or commad I can use to power off the box without leaving a saved state around?
Thanks,
Josh
not saving state with VBoxManage controlvm poweroff
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: not saving state with VBoxManage controlvm poweroff
You should probably wait a little longer. How long does it take anyway?
Just in case this "<vmname> icpipowerbutton" command" is not a typo it is acpipowerbutton.
Just in case this "<vmname> icpipowerbutton" command" is not a typo it is acpipowerbutton.
-
kihjin
- Posts: 71
- Joined: 18. Nov 2008, 21:30
- Primary OS: Ubuntu other
- VBox Version: OSE self-compiled
- Guest OSses: Ubuntu, Windows XP
Re: not saving state with VBoxManage controlvm poweroff
In my experience, controlvm poweroff does not save the system state. To save the sate, you must do controlvm savestate
Unless that logic has changed recently...
Unless that logic has changed recently...