Commit Graph
4 Commits
Author SHA1 Message Date
quoije 7787bd5f84 Close the gaps that a fresh redeploy would have shipped
- install the QEMU guest agent from virtio-win: Proxmox provisions over
  qm guest exec, so without it every provision would hang waiting for the
  agent. virtio-win is now attached as ide3 on the Proxmox platform.
- restore the .url MIME mapping in fs01.ps1: the earlier patch silently
  missed, so a rebuilt FS01 would answer 404.3 for the easter-egg shortcut.
- kali install now builds a small tool ISO carrying the wordlist, so a
  fresh Kali is usable without network access to the host.

Audited by extracting the bundle and re-rendering the seeds: no unrendered
tokens, and every live fix is present in the generated role scripts.
2026-10-23 00:30:40 -04:00
quoije 703db36381 Fix RDP never being enabled
The discoverability-flyout tweak used New-Item -Force on a protected HKLM
key, which throws UnauthorizedAccessException. With ErrorActionPreference
Stop that aborted the bootstrap before the RDP block, so TermService stayed
stopped, fDenyTSConnections stayed 1 and no RDP firewall rule was enabled.
Anyone trying 3389 got a closed port.

Use New-ItemProperty in a try/catch, and make the RDP block defensive
(start the service, enable the rule group, log failures).
2026-10-22 22:40:00 -04:00
quoije 31dae55b1f Allow ICMP echo on lab guests
Windows drops echo by default, and 'ping the DC' is the first check anyone
runs; prerequis.md tells participants to do exactly that. Adds a scoped
ICMPv4-in rule in bootstrap.ps1 (lab only, all profiles).
2026-10-22 21:30:42 -04:00
quoije 890dd58700 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.
2026-10-22 19:23:16 -04:00