I have a virtualbox machine on a OSX 10.9.2 host. I do not want to open VirtualBox everytime and start the machine there. Also, I do not need the the screen output as I will just ssh from OSX terminal anyway.How to start the virtual machine in headless mode on system start?
How do I start a virtual machine in background upon OSX system start?
osx;virtualbox;startup
VirtualBox comes with a series of command line tools all prefixed with VBox. The command you are looking for isVBoxHeadless --startvm my vm nameYou can see a short description of its options via VBoxHeadless --help.If you don't know the name of the virtual machine you can find out via:VBoxManage list vmsTo to run upon startup on Mac OS X you can use the Automator application.In the Automator App, select the Run Shell Script from the list and type the script:After saving the service, import it from System Preferences > Users & Groups > TheLoginUser > Login Items > Import the service above.