Headless VirtualBox

Sometimes I need to run a headless VirtualBox VM. Here’s a couple scripts to build one up and get one running with VNC access: root@colinbsd:/prodVMs # cat makeOpenProj VBoxManage createvm –name openproject –ostype FreeBSD_64 –register VBoxManage modifyvm openproject –memory 2048 –ioapic on –cpus 4 –chipset PIIX3 –nic1 bridged –nictype1 82540EM –bridgeadapter1 bge0 VBoxManage createhd –filename[…]