Initial commit: Packer + QEMU/KVM Windows 11 minimal VM

Fully unattended Windows 11 Pro build using Autounattend.xml, swtpm
for TPM 2.0 emulation, and VirtIO drivers. Five PowerShell provisioners
strip bloatware, telemetry, unused services, and apply performance tuning
for a resource-constrained host. Output is a compressed QCOW2 image.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 19:31:18 -05:00
commit e4741ccc96
12 changed files with 980 additions and 0 deletions

20
.gitignore vendored Normal file
View File

@@ -0,0 +1,20 @@
# Local build variables — contains ISO path and credentials
variables.pkrvars.hcl
# Build output
output/
# Downloaded ISOs (large binaries, not worth tracking)
*.iso
# swtpm state directories created by build.sh
.swtpm*/
# Packer plugin cache
packer_cache/
# Editor / OS noise
.DS_Store
Thumbs.db
*.swp
*~