view tests/fbhyve/prepare-pc03.sh @ 597:f6ba8ad6f76e

farray.sh: _farr_array_get_meta(), farr_array_tryget_meta() and _farr_array_tryget_meta_nonfatal() now do not use arithmetic expansion to check for valid length values. Now this is left to _farr_make_index() which does a far better job checking for valid values.
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 18 Sep 2024 16:57:41 +0200
parents 57f253106ed6
children
line wrap: on
line source

#!/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