From c8736f7871a66d5ba45cae2b6ca8bf753a902f3c Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 13 Mar 2024 09:25:49 +0100 Subject: [PATCH] fix: Allow additional bootmodes --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index 6208950..e5b21f2 100644 --- a/src/install.sh +++ b/src/install.sh @@ -854,7 +854,7 @@ prepareImage() { local iso="$1" local dir="$2" - if [[ "${BOOT_MODE,,}" == "windows" ]]; then + if [[ "${BOOT_MODE,,}" != "windows_legacy" ]]; then if [[ "${DETECTED,,}" != "winxp"* ]] && [[ "${DETECTED,,}" != "win2008"* ]]; then if [[ "${DETECTED,,}" != "winvista"* ]] && [[ "${DETECTED,,}" != "win7"* ]]; then