The script no longer needs the parent repository or SSH: it builds an answer ISO from windows11/seed/Autounattend.xml, installs Windows from the ISO in QEMU (hardware in windows11/qemu uses only devices with inbox Windows drivers), and the answer file generalizes the image with sysprep at the end. The base holds only Windows: no account (the built-in Administrator is disabled), no SSH, no settings, no VirtIO drivers, no machine identity and no cached answer files. VMs are configured on first boot from an Unattend.xml on an attached CD-ROM. Add --window and --from-img; press a key at the ISO boot prompt with the z key, which neither UEFI nor Windows Setup ignores or acts on. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
24 lines
547 B
INI
24 lines
547 B
INI
# Linux host, amd64 part of the Windows 11 QEMU configuration; read after config.ini.
|
|
|
|
# Accelerators are tried in order: KVM on Linux, else emulation.
|
|
[accel]
|
|
accel = "kvm"
|
|
|
|
[accel]
|
|
accel = "tcg"
|
|
|
|
[machine]
|
|
type = "q35"
|
|
|
|
# The system disk is attached through IDE so that Windows can boot before the
|
|
# VirtIO storage driver is installed; the installation media use ide.1 to ide.3.
|
|
[device "system_disk-dev"]
|
|
driver = "ide-hd"
|
|
drive = "system_disk"
|
|
bus = "ide.0"
|
|
bootindex = "1"
|
|
|
|
[device "nic0"]
|
|
driver = "e1000e"
|
|
netdev = "net0"
|