How to make VM in VirtualBox start headless by default?

How to make VM in VirtualBox start headless by default? Not to press SHIFT every time to start headless...


execute command

VBoxManage modifyvm "vmname" --defaultfrontend headless

refer: GUI Always Start Headless


Commenting on a relic but I think it's worth mentioning that you can set the default for all VMs to start headless by setting the global configuration via:

VBoxManage setproperty defaultfrontend headless