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.
5 lines
231 B
Batchfile
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
|