This commit is contained in:
2025-10-10 23:27:24 +02:00
parent f97b03919b
commit 2b0ab9651e
3 changed files with 200 additions and 1 deletions

View File

@@ -241,7 +241,7 @@ configure_new_system() {
wait
}
machines=(ares neptune dionysus)
machines=(ares neptune dionysus hera)
if (($# > 0)); then
machines=("${@}")
fi
@@ -271,6 +271,13 @@ for hostname in "${machines[@]}"; do
"-drive" "if=pflash,format=raw,file=${tmpdir}/efivars.fd"
)
;;
hera)
hostqemuopts=(
"-device" "nvme,serial=rootnvme,drive=root"
"-drive" "if=pflash,format=raw,readonly=true,file=/usr/share/edk2/x64/OVMF_CODE.4m.fd"
"-drive" "if=pflash,format=raw,file=${tmpdir}/efivars.fd"
)
;;
*)
printf "unknown hostname: %s\n" "${hostname}" >&2
exit 1