VBoxLauncher is a StartupItem script to launch your VirtualBox virtual machines at OSX boot time.
Installation
Follow these steps:
- create directory /Library/StartupItems/VBoxLauncher: sudo mkdir /Library/StartupItems/VBoxLauncher
- download StartupParameters.plist and save it to /Library/StartupItems/VBoxLauncher
- download VBoxLauncher and save it to the same directory
- edit the file and set the USER variable inside the script to match the user who owns the virtual machines
- set executable permissions on the file: chmod a+rx/Library/StartupItems/VBoxLauncher/VBoxLauncher
- set the launchatboot property on the virtual machines you want to get started at boot time: VBoxManage guestproperty set vm-name launchatboot true
- reboot!
If, for some reason, you don't want any vm to start, just remove the launchatboot property: VBoxManage guestproperty set vm-name launchatboot
The script has been working fine for me since VirtualBox 2.2. If it's not working for you, don't hesitate dropping me an email.
Older versions
The output from the VirtualBox binaries that the launcher uses changes from time to time. Here is a list of VBoxLauncher scripts for the different versions.