From 2e2429ee75eec7fdb63b9f49c83bbbfada01afe1 Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Sun, 12 Apr 2026 15:46:06 +0200 Subject: [PATCH] fix(quickemu): fix unattended.iso mount for windows-server guest --- quickemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 9b65359..83e2b46 100755 --- a/quickemu +++ b/quickemu @@ -1960,7 +1960,7 @@ function vm_boot() { args+=(-boot order=d -drive if=ide,index=2,media=cdrom,file="${iso}") iso="" - elif [ -n "${iso}" ] && [ "${guest_os}" == "windows" ] && [ -e "${VMDIR}/unattended.iso" ]; then + elif [ -n "${iso}" ] && [[ "${guest_os}" == "windows"* ]] && [ -e "${VMDIR}/unattended.iso" ]; then # Attach the unattended configuration to Windows guests when booting from ISO # shellcheck disable=SC2054 args+=(-drive media=cdrom,index=2,file="${VMDIR}/unattended.iso")