mirror of
https://github.com/dockur/windows.git
synced 2025-12-20 01:10:35 +00:00
feat: Add flag to disable secure boot (#263)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user