Split into qemu and proxmox platforms over a shared content tree

platforms/qemu and platforms/proxmox each have their own lab.sh and
lab.conf; content/ holds everything shared (roles, seed, site, helpers).
The dispatcher, preflight and command implementations are common and take
platform differences from the backend.

Proxmox backend: qm create with q35/SATA/e1000, ISOs and seed ISOs in an
ISO storage, provisioning over qm guest exec (no Python packages needed on
the host), template + clone for reset, and peers/ to emit WireGuard configs.
The role scripts now ride on the seed ISO, so provisioning transfers nothing.

build-bundle.sh produces a self-contained tarball per platform, for hosts
that cannot reach the git server.

Both configs are generic: no absolute path from this machine remains.
This commit is contained in:
2026-10-22 19:23:16 -04:00
parent 538fb9a117
commit 890dd58700
349 changed files with 1142 additions and 2236 deletions
+7
View File
@@ -0,0 +1,7 @@
@echo off
rem Norbourg lab — first-logon entry point (runs from the seed ISO).
rem The ISO carries the whole payload, so copy it locally first: from then on
rem the guest never needs another file transfer.
if not exist C:\norbourg mkdir C:\norbourg
xcopy "%~dp0*.*" C:\norbourg\ /E /I /Y >nul 2>&1
powershell -NoProfile -ExecutionPolicy Bypass -File "C:\norbourg\bootstrap.ps1" >> C:\norbourg\bootstrap.log 2>&1