uncategorized

Autostart a VirtualBox Machine in a FreeNAS Jail

I don’t use this anymore, but kept the instructions here for future reference

Source https://forums.freenas.org/index.php?threads/autostart-virtualbox-vm.22116/

For example, my virtual machine named zenbar, I add to /mnt/tank/jails/zenbar/etc/rc.conf:

1
2
3
4
5
6
vboxnet_enable="YES"
vboxheadless_enable="YES"
vboxheadless_machines="zenbar"
vboxheadless_zenbar_name="zenbar"
vboxheadless_zenbar_user="vbox"
vboxheadless_zenbar_stop="poweroff"
Share