Open main menu

Aram's Wiki β

Changes

Install Ubuntu Linux 20.04 LTS in vm-bhyve

54 bytes added, 13:10, 28 July 2020
no edit summary
Fetch the [https://cloud-init.io | Cloud Init] image:
vm img http://cloud-images.ubuntu.com/bionicfocal/current/bionicfocal-server-cloudimg-amd64.img
== Create VM ==
vm create -c 4 16 -m 8G 32G -t linux-zvol -i bionicfocal-server-cloudimg-amd64.img -C -k ~aram/.ssh/id_rsa.pub ubuntu
Adjust the number of CPUs and memory to taste. A maximum of 16 vCPUs is currently supported in bhyve.
== Start the VM ==
Determine the IP and log-in:
ssh ubuntu@192.168.0.2719
Sadly vm-bhyve doesn't have any way of querying the IP, you need to search the DHCP logs or use ARP.