fix: Preserve WIM indices during edition detection (#1954)

This commit is contained in:
Kroese
2026-07-25 00:29:50 +02:00
committed by GitHub
parent fe36fe3ab8
commit 4b5eb2c882
4 changed files with 181 additions and 154 deletions
+1 -1
View File
@@ -734,7 +734,7 @@ setMachine() {
BOOT_MODE="windows_legacy"
[ -z "${SOUND:-}" ] && SOUND="usb-audio"
if [ -z "${CPU_MODEL,,}" ] || [[ "${CPU_MODEL,,}" == "host" ]]; then
if [ -z "${CPU_MODEL:-}" ] || [[ "${CPU_MODEL:-}" == "host" ]]; then
# Workaround for boot loop on AMD EPYC processors
if [[ "${CPU,,}" == *"amd epyc"* ]]; then
CPU_MODEL="qemu32"