Timeline for How to automatically start and shut down VirtualBox machines?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Jun 4, 2014 at 10:37 | history | suggested | Alaa Ali | CC BY-SA 3.0 |
the command is VBoxManage, not VBoxManager
|
| Jun 4, 2014 at 10:22 | review | Suggested edits | |||
| S Jun 4, 2014 at 10:37 | |||||
| Jan 8, 2012 at 20:53 | comment | added | Baarn |
VBoxManage controlvm savestate is another possibilty (at least google tells me), it saves the machines status and shuts it down cleanly, but still no way to force the host to wait.
|
|
| Jan 8, 2012 at 16:39 | comment | added | Nikhil Mulley |
You can make sure that by rechecking all the vms are down in the host before host goes down. If you need to control host from inside the guest, then virtualbox.org/manual/ch08.html#vboxmanage-guestcontrol but this may not give you what you are looking for. You should write a startup script like /etc/init.d/vboxvms-service script on host system, which upon start will make all vms on and upon stop, will make all the vms go down.
|
|
| Jan 8, 2012 at 16:20 | comment | added | jstarek |
Thanks for your reply, but unfortunately, this does not address my issue: I need to gracefully shut down the guest, i.e. issue a "shutdown -h now" inside the guest and have the host wait until the guest has shut down completely. None of the VBoxManage controlvm subcommands do that.
|
|
| Jan 8, 2012 at 16:19 | vote | accept | jstarek | ||
| Jan 8, 2012 at 16:19 | |||||
| Jan 8, 2012 at 15:48 | comment | added | Arcege |
Note that on some systems, it is vboxmanage (all lower case).
|
|
| Jan 8, 2012 at 15:18 | history | answered | Nikhil Mulley | CC BY-SA 3.0 |