Install Ubuntu Linux 18.04 LTS in vm-bhyve
Properly configured vm-bhyve running on FreeBSD. All commands below run as root.
Fetch the | Cloud Init image:
vm create -c 4 -m 8G -t linux-zvol -i bionic-server-cloudimg-amd64.img -C -k ~aram/.ssh/id_rsa.pub ubuntu
Adjust the number of CPUs and memory to taste.
Start the VM
vm start ubuntu
Determine the IP and log-in:
Sadly vm-bhyve doesn't have any way of querying the IP, you need to search the DHCP logs or use ARP.
Complete the installation by following the Ubuntu Linux Post Install Steps.
Make sure the VM is listed in
vm_list="ubuntu vm1 vm2 ..."