mirror of
https://github.com/dockur/windows.git
synced 2024-11-17 18:21:47 +00:00
feat: Enable secure boot on multi-socket systems (#535)
This commit is contained in:
parent
b32e66bc1d
commit
0971fb7492
1 changed files with 5 additions and 0 deletions
|
@ -146,6 +146,11 @@ finishInstall() {
|
||||||
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
|
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
|
||||||
fi
|
fi
|
||||||
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue