diff --git a/.github/buildomat/jobs/deploy.sh b/.github/buildomat/jobs/deploy.sh index 7a3ac17b054..7d93b0caebe 100755 --- a/.github/buildomat/jobs/deploy.sh +++ b/.github/buildomat/jobs/deploy.sh @@ -246,7 +246,15 @@ routeadm -e ipv4-forwarding -u PXA_START="$EXTRA_IP_START" PXA_END="$EXTRA_IP_END" -pfexec zpool create -f scratch c1t1d0 c2t1d0 +# Enumerate the names of NVMe devices on on which one might place a zpool. +# +# N.B. that it is fine to do use "every NVMe device on the box" since this +# script only runs on buildomat workers which do not have any disks used for +# storing anything persistently, and which are PXE-booted...so we're not gonna +# clobber anything that anyone might have cared about on sock and buskin, at +# least. +DISKS=( $(pfexec nvmeadm list -p -o disk) ) +pfexec zpool create -f scratch "${DISKS[@]}" ptime -m \ pfexec ./target/release/xtask virtual-hardware \