From 0fdab895162102f4ed83b60e511e75a72e30d7bf Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 27 Jul 2026 11:24:55 +0200 Subject: [PATCH] feat: Disable autoreboot for Windows 2000 and 2003 (#2005) --- src/answer.sh | 5 +---- src/install.sh | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/answer.sh b/src/answer.sh index 3c2f8a82..ad65720d 100644 --- a/src/answer.sh +++ b/src/answer.sh @@ -1720,10 +1720,7 @@ legacyInstall() { addLegacyDrivers "$dir" "$target" "$driver" "$arch" "$drivers" || return 1 fi - if [[ "${driver,,}" == "xp" ]]; then - disableAutoReboot "$target" || return 1 - fi - + disableAutoReboot "$target" || return 1 setLegacyKey "$target" "$driver" "$arch" "$desc" || return 1 validateProductKey "$KEY" || return 1 diff --git a/src/install.sh b/src/install.sh index 7d3e03f3..6a7071a5 100644 --- a/src/install.sh +++ b/src/install.sh @@ -789,8 +789,6 @@ setMachine() { # Prevent bluescreen if 64 bit PCI hole size is >2G. ARGS="-global q35-pcihost.x-pci-hole64-fix=false" - ARGS+=" -global virtio-pci.disable-modern=on" - ARGS+=" -global virtio-pci.disable-legacy=off" fi ;;