Unverified Commit 0971fb74 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Enable secure boot on multi-socket systems (#535)

parent b32e66bc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -146,6 +146,11 @@ finishInstall() {
          echo "$BOOT_MODE" > "$STORAGE/windows.mode"
        fi
      fi
      # Enable secure boot on multi-socket systems to workaround freeze
      if [ -n "$SOCKETS" ] && [[ "$SOCKETS" != "1" ]]; then
        BOOT_MODE="windows_secure"
        echo "$BOOT_MODE" > "$STORAGE/windows.mode"    
      fi
    fi
  fi