I have reinstalled my server running CentOS 5.2 and VirtualBox. In the process I have found some items that weren't documented well in the previous post VirtualBox in rc.d
I have modified the vboxcontrol script. The new script is available here.
vboxcontrol.
After setting up the script, you need to run chkconfig --add vboxcontrol
In the Ubuntu server 8.04 guest OS I had to run apt-get install acpi acpid
Unfortunately, this post isn't very verbose, but I have given up on CentOS as my VirtualBox host because of networking issues between the guest and the host. Hopefully running Ubuntu as the host OS will resolve this problem.
Files: