#!/bin/sh name="9front" cpu="9" mem="19G" disk="/home/thedaemon/vms/9front/9frontCPU.img" tap="tap0" # Sets up the Network interface doas ifconfig ${tap} up doas bhyve -c ${cpu} -m ${mem} -wH \ -s 0,hostbridge \ -s 4,ahci-hd,${disk} \ -s 5,virtio-net,${tap} \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ ${name} &