Proxmox hardening from a dry run and stub tests

- PVE has no win2k22 ostype; Server 2022 maps to win11
- drop --startup 0, which is not a valid order value
- after install, repoint the boot order at sata0 and detach the installer
  ISO, so a stray keypress cannot re-enter Setup
- ISO storage detection falls back to storage.cfg when pvesm has no
  --content flag
- router wg0 is now 10.10.10.250/32 with the lab NIC at .251/24: two /24s on
  one host made routing ambiguous
- nft rules use the router's own interface name (WG_LAB_IFACE), not vmbr10
This commit is contained in:
2026-10-22 21:26:37 -04:00
parent 77d123a9cf
commit 608b559e51
5 changed files with 78 additions and 15 deletions
+8
View File
@@ -83,6 +83,14 @@ _wait_for_boot() {
printf '\n'
ok "all VMs installed and reachable"
if declare -F backend_finalize >/dev/null; then
step "finalize"
for name in "${VM_NAMES[@]}"; do
backend_finalize "$name" || warn "$name: finalize step failed"
done
fi
info " next: ./lab.sh status"
}