Link Search Menu Expand Document

How to use VirtualBox headless

Start virtual machine

Get list of virtual machines

 $ VBoxManage list vms

Run machine with comand where <guest-os-name> is machine name from list

 $ VBoxManage startvm <guest-os-name> --type headless

Stop virtual machine

Get list of active virtual machines

 $ VBoxManage list runningvms

Kill virtual machine with command where <guest-os-name> is machine name from list

 $ VBoxManage controlvm <guest-os-name> poweroff