2022-11-01 23:06:44 +00:00
|
|
|
# Use UEFI when booting from a disk
|
|
|
|
loader="uefi"
|
|
|
|
graphics="yes"
|
|
|
|
xhci_mouse="yes"
|
2022-11-02 03:50:53 +00:00
|
|
|
# graphics_listen="0.0.0.0"
|
|
|
|
graphics_listen="127.0.0.1"
|
2022-11-01 23:33:03 +00:00
|
|
|
# graphics_listen="10.216.1.1"
|
2022-11-01 23:06:44 +00:00
|
|
|
graphics_res="1920x1080"
|
2022-11-01 23:33:03 +00:00
|
|
|
# graphics_wait="yes"
|
|
|
|
# prestart=""
|
|
|
|
console="tmux"
|
2022-11-01 23:06:44 +00:00
|
|
|
|
|
|
|
cpu=1
|
|
|
|
memory=1024M
|
2022-11-01 23:33:03 +00:00
|
|
|
|
2022-12-10 22:19:13 +00:00
|
|
|
disk0_type="nvme"
|
2022-11-01 23:06:44 +00:00
|
|
|
disk0_name="disk0"
|
|
|
|
disk0_dev="sparse-zvol"
|
|
|
|
virt_random="yes" # virtio-rnd
|
2022-11-02 03:43:48 +00:00
|
|
|
|
|
|
|
# Creates a link to host_bridge1's link3 hook to the vmlink hook on a type socket
|
|
|
|
bhyve_options="-s 2:0,virtio-net,netgraph,path=host_bridge1:,peerhook=link3"
|
2022-12-10 22:43:44 +00:00
|
|
|
|
|
|
|
# Share a host directory to the guest via 9pfs.
|
|
|
|
#
|
|
|
|
# Inside the VM run:
|
|
|
|
# mount -t virtfs -o trans=virtio sharename /some/vm/path
|
|
|
|
# mount -t 9p -o cache=mmap -o msize=512000 sharename /mnt/9p
|
|
|
|
# mount -t 9p -o trans=virtio,cache=mmap,msize=512000 sharename /path/to/mountpoint
|
|
|
|
# bhyve_options="-s 28,virtio-9p,sharename=/"
|
|
|
|
|
|
|
|
# Enable Sound
|
|
|
|
# bhyve_options="-s 16,hda,play=/dev/dsp,rec=/dev/dsp"
|