[Pkg-virtualbox-devel] Bug#502043:
Tim Richardson
tim at tim-richardson.net
Thu Oct 30 12:41:53 UTC 2008
Upstream says it won't be fixed until the next major release after
2.0.4.
Here is a hack fix I've made to at least protect from data loss.
create /usr/lib/pm-utils/sleep.d/00virtualBox and make it executable
put this in the script. I have hardcoded for the only VM I care about,
and you need to run it as the user who runs the virtual machine.
Obviously very ugly, but does the job.
#!/bin/sh
#. "${PM_FUNCTIONS}"
case "$1" in
hibernate|suspend)
#suspend_nm
sudo -u tim VBoxManage controlvm XP savestate
;;
thaw|resume)
#resume_nm
;;
*) exit $NA
;;
esac
More information about the Pkg-virtualbox-devel
mailing list