From 4923ffd30477386e79d31c93cca811a5da5cba9d Mon Sep 17 00:00:00 2001 From: karmab Date: Tue, 15 Oct 2024 00:25:50 +0200 Subject: [PATCH] kfish: dont force uefi --- ailib/kfish/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ailib/kfish/__init__.py b/ailib/kfish/__init__.py index 3fd5f36..296cec4 100644 --- a/ailib/kfish/__init__.py +++ b/ailib/kfish/__init__.py @@ -207,7 +207,7 @@ def set_iso_once(self): newboot['BootSourceOverrideEnabled'] = 'Once' if currentboot['BootSourceOverrideTarget'] != 'Cd': newboot['BootSourceOverrideTarget'] = 'Cd' - if 'BootSourceOverrideMode' not in currentboot or currentboot['BootSourceOverrideMode'] != 'UEFI': + if 'BootSourceOverrideMode' not in currentboot: newboot['BootSourceOverrideMode'] = 'UEFI' data = {"Boot": newboot} if self.debug: