I've got a Cisco WLC running in bhyve on FreeNAS-11.2-U2.1.
Every time i reboot I have to manually start the vm by running a script with the following commands:
sysctl net.link.tap.up_on_open=1
ifconfig tap1 create
ifconfig bridge0 addm tap1
grub-bhyve -m device.map -r hd0,msdos1 -M 2048 vwlc
In grub-bhyve I then have to enter legacy_configfile /grub/menu.lst and press enter at the prompt.
grub-bhyve then exits and I run another script that looks like this:
bhyve -A -H -P \
-s 0:0,hostbridge \
-s 1:0,lpc \
-s 2:0,ahci-hd,./vwlc.img \
-s 3:0,virtio-net,tap0 \
-s 4:0,virtio-net,tap1 \
-l com1,/dev/nmdm0A \
-c 1 \
-m 2048M \
vwlc &
My question is if there's any way I can add the VM to the virtual machines in the WebUI and make it start automatically.
Every time i reboot I have to manually start the vm by running a script with the following commands:
sysctl net.link.tap.up_on_open=1
ifconfig tap1 create
ifconfig bridge0 addm tap1
grub-bhyve -m device.map -r hd0,msdos1 -M 2048 vwlc
In grub-bhyve I then have to enter legacy_configfile /grub/menu.lst and press enter at the prompt.
grub-bhyve then exits and I run another script that looks like this:
bhyve -A -H -P \
-s 0:0,hostbridge \
-s 1:0,lpc \
-s 2:0,ahci-hd,./vwlc.img \
-s 3:0,virtio-net,tap0 \
-s 4:0,virtio-net,tap1 \
-l com1,/dev/nmdm0A \
-c 1 \
-m 2048M \
vwlc &
My question is if there's any way I can add the VM to the virtual machines in the WebUI and make it start automatically.