From 81fb38a64c9755fc2f8d4d208107f8ae3f90a868 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 7 May 2024 12:04:45 +0200 Subject: [PATCH] fix: Time syncronization on Windows --- src/boot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boot.sh b/src/boot.sh index e22426a..0531414 100644 --- a/src/boot.sh +++ b/src/boot.sh @@ -23,12 +23,14 @@ case "${BOOT_MODE,,}" in windows) ROM="AAVMF_CODE.no-secboot.fd" VARS="AAVMF_VARS.fd" + BOOT_OPTS="-rtc base=localtime" ;; windows_secure) SECURE=",secure=on" BOOT_DESC=" securely" ROM="AAVMF_CODE.ms.fd" VARS="AAVMF_VARS.ms.fd" + BOOT_OPTS="-rtc base=localtime" ;; *) info "Unknown boot mode '${BOOT_MODE}', defaulting to 'uefi'"