mirror of
				https://github.com/dockur/windows.git
				synced 2025-10-27 03:15:49 +00:00 
			
		
		
		
	feat: Add flag to disable secure boot (#263)
This commit is contained in:
		
							parent
							
								
									59b98fe211
								
							
						
					
					
						commit
						6aee02b4e1
					
				
					 3 changed files with 4 additions and 3 deletions
				
			
		|  | @ -1,8 +1,9 @@ | |||
| #!/usr/bin/env bash | ||||
| set -Eeuo pipefail | ||||
| 
 | ||||
| : "${BOOT_MODE:="windows"}" | ||||
| 
 | ||||
| APP="Windows" | ||||
| BOOT_MODE="windows" | ||||
| SUPPORT="https://github.com/dockur/windows" | ||||
| 
 | ||||
| cd /run | ||||
|  |  | |||
|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kroese
						Kroese