VirtualBox Operations for a headless server

I wrote earlier about starting a headless virtual machine with VirtualBox.

And now, I’ll tell you how to do following:

  • Start headless VM
  • Stop headless VM
  • Pause geadless VM
  • Reset headless VM

Starting VM:

VBoxManage startvm "VM Name" --type headless

Stopping VM:

VBoxManage controlvm "VM Name" poweroff

Pausing VM:

VBoxManage controlvm "VM Name" pause

Resetting VM:

VBoxManage controlvm "VM Name" reset

If you’re interested, you can find more commands by running:

VBoxHeadless --help

Leave a Reply

Your email address will not be published. Required fields are marked *