mirror of
https://github.com/dockur/windows.git
synced 2024-11-17 18:21:47 +00:00
feat: Add Windows 11 LTSC support (#770)
This commit is contained in:
parent
bfc24167e3
commit
73e7253218
3 changed files with 8 additions and 5 deletions
|
@ -86,6 +86,9 @@
|
|||
<AcceptEula>true</AcceptEula>
|
||||
<FullName>Docker</FullName>
|
||||
<Organization>Windows for Docker</Organization>
|
||||
<ProductKey>
|
||||
<Key />
|
||||
</ProductKey>
|
||||
</UserData>
|
||||
<EnableFirewall>false</EnableFirewall>
|
||||
<Diagnostics>
|
||||
|
|
|
@ -86,6 +86,9 @@
|
|||
<AcceptEula>true</AcceptEula>
|
||||
<FullName>Docker</FullName>
|
||||
<Organization>Windows for Docker</Organization>
|
||||
<ProductKey>
|
||||
<Key />
|
||||
</ProductKey>
|
||||
</UserData>
|
||||
<EnableFirewall>false</EnableFirewall>
|
||||
<Diagnostics>
|
||||
|
|
|
@ -115,7 +115,7 @@ parseVersion() {
|
|||
;;
|
||||
"ltsc11" | "11ltsc" | "win11-ltsc" | "win11x64-ltsc" | "win11x64-enterprise-ltsc-eval" )
|
||||
VERSION="win11x64-enterprise-ltsc-eval"
|
||||
[ -z "$DETECTED" ] && DETECTED="win11x64-iot"
|
||||
[ -z "$DETECTED" ] && DETECTED="win11x64-ltsc"
|
||||
;;
|
||||
"ltsc10" | "10ltsc" | "win10-ltsc" | "win10x64-ltsc" | "win10x64-enterprise-ltsc-eval" )
|
||||
VERSION="win10x64-enterprise-ltsc-eval"
|
||||
|
@ -420,7 +420,7 @@ printEdition() {
|
|||
edition="Education"
|
||||
;;
|
||||
*"-iot" | *"-iot-eval" )
|
||||
edition="IoT"
|
||||
edition="LTSC"
|
||||
;;
|
||||
*"-ltsc" | *"-ltsc-eval" )
|
||||
edition="LTSC"
|
||||
|
@ -2134,9 +2134,6 @@ setMachine() {
|
|||
if ! prepare2k3 "$iso" "$dir" "$desc"; then
|
||||
error "Failed to prepare $desc ISO!" && return 1
|
||||
fi ;;
|
||||
"win2025"* | "win11x64-iot"* | "win11x64-ltsc"* )
|
||||
# Temporary: Use IDE CD to workaround install bug
|
||||
MEDIA_TYPE="ide" ;;
|
||||
esac
|
||||
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue