Files
pentest.intro/seed/payload/bootstrap.cmd
T
quoije c66b5641b6 Phase 3: unattended install, seed ISOs and VM lifecycle
autounattend template (q35/AHCI/e1000, no virtio injection), per-VM seed
ISOs with a bootstrap that configures the static IP, enables WinRM/RDP and
chains into the role script. build --dry-run, up/down/status/vnc verbs.

Static addressing happens in PowerShell rather than in the unattend file:
Microsoft-Windows-TCPIP matches adapters by connection name and fails
silently when the name differs.
2026-10-21 18:46:31 -04:00

5 lines
231 B
Batchfile

@echo off
rem Norbourg lab — first-logon entry point (runs from the seed ISO).
if not exist C:\norbourg mkdir C:\norbourg
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0bootstrap.ps1" >> C:\norbourg\bootstrap.log 2>&1