diff tests/fbhyve/prepare-pc03.sh @ 474:57f253106ed6

Implement fbhyve, a management system that runs bhyve virtual machines within tmux sessions
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 27 Aug 2024 21:47:57 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/fbhyve/prepare-pc03.sh	Tue Aug 27 21:47:57 2024 +0200
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+#
+# Prepare disk devices/volumes
+#
+#   -> Intermediates
+zfs create -o canmount=off -o mountpoint=none zpool/bhyve
+zfs create -o canmount=off -o mountpoint=none -o primarycache=metadata -o secondarycache=none zpool/bhyve/test-local-bsdtools
+zfs create -o canmount=off zpool/bhyve/test-local-bsdtools/fbhyve
+
+
+#   -> Single disk setup
+zfs create -o volmode=dev -s -V 3G zpool/bhyve/test-local-bsdtools/fbhyve/disk0
+
+#
+# UEFI-Variables
+#
+#   -> Copy the template for the UEFI vars
+#
+cp -v /usr/local/share/uefi-firmware/BHYVE_UEFI_VARS.fd  /home/fag/work/ports/sysutils/local-bsdtools/tests/fbhyve/bootvars.fd