Op vrijdag 27 februari 2009, schreef Peter Ford: > My script is as follows: you can create it as /et/init.d/vbox-headless or > something and then use chkconfig to turn it on (on OpenSuSE I think it even > appears in the Yast services section...). > Set the VBOXNAME variable near the top of the script to the name of your > virtual > machine (or the UUID)... > You could easily have several of these to handle multiple VMs. > Note that in this script, the standard "stop" function does a save-state > shutdown of the VM - I figure that this is what I want mostly when the host > goes down. > To terminate the VM, I set the "kill" function to do an ACPI poweroff which > cleanly shuts the VM down (as long as your VM is listening for ACPI > signals...). > You can then call that with "service vbox kill".
Thanx Peter, this saves me some time. I have it working now. -- fr.gr. Freek de Kruijf _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
