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 | vboxnet_enable="YES" |