7:13 PM - vm-bhyve quick start for MidnightBSD
1\. mport install vm-bhyve
2\. vm init
6\. cp /usr/local/share/examples/vm-bhyve/* /mountpoint/for/vm/.templates/
7\. vm switch create public
8\. vm switch add public em0
9\. vm iso https://midnightbsd.org/ftp/MidnightBSD/releases/amd64/ISO-IMAGES/3.1.3/MidnightBSD-3.1.3--amd64-disc1.iso
10\. vm create myguest
11\. vm install [-f] myguest MidnightBSD-3.1.3--amd64-disc1.iso
12\. vm console myguest
Here's an example template for midnightbsd.
loader="bhyveload"
cpu=3
memory=4096M
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"
disk0_size="90"
0 comments