Remove vm-bhyve.

This commit is contained in:
Tom Alexander
2023-04-27 17:08:57 -04:00
parent 89b60c05e7
commit 740f2bdadd
3 changed files with 11 additions and 54 deletions

View File

@@ -4,6 +4,17 @@ set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# 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"
function main {
if [ "$1" = "create-disk" ]; then
shift 1