I have just configured an Ubuntu bhyve guest, all working perfectly (bhyve is super awesome).
I currently start bhyve with this script
The contents of this script are:
Now this is all well and good, but I am required to press enter on the bootloader/grub screen, then the vm loads and returns me to the command prompt.
How can I avoid having to press enter and automate the entire process? So I can then write a custom rc.d service script.
I currently start bhyve with this script
# /local/bhyve/ubuntu/running
The contents of this script are:
Code:
grub-bhyve -m device.map -r hd0,msdos1 -M 4096M linuxguest
bhyve -AI -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap1 \-s 3:0,virtio-blk,./bhyve-ubuntu.img \
-l com1,stdio -c 4 -m 4096M linuxguest &
Now this is all well and good, but I am required to press enter on the bootloader/grub screen, then the vm loads and returns me to the command prompt.
How can I avoid having to press enter and automate the entire process? So I can then write a custom rc.d service script.