feat: Add Windows 11 LTSC support (#770)
This commit is contained in:
parent
bfc24167e3
commit
73e7253218
@ -86,6 +86,9 @@
|
|||||||
<AcceptEula>true</AcceptEula>
|
<AcceptEula>true</AcceptEula>
|
||||||
<FullName>Docker</FullName>
|
<FullName>Docker</FullName>
|
||||||
<Organization>Windows for Docker</Organization>
|
<Organization>Windows for Docker</Organization>
|
||||||
|
<ProductKey>
|
||||||
|
<Key />
|
||||||
|
</ProductKey>
|
||||||
</UserData>
|
</UserData>
|
||||||
<EnableFirewall>false</EnableFirewall>
|
<EnableFirewall>false</EnableFirewall>
|
||||||
<Diagnostics>
|
<Diagnostics>
|
||||||
|
@ -86,6 +86,9 @@
|
|||||||
<AcceptEula>true</AcceptEula>
|
<AcceptEula>true</AcceptEula>
|
||||||
<FullName>Docker</FullName>
|
<FullName>Docker</FullName>
|
||||||
<Organization>Windows for Docker</Organization>
|
<Organization>Windows for Docker</Organization>
|
||||||
|
<ProductKey>
|
||||||
|
<Key />
|
||||||
|
</ProductKey>
|
||||||
</UserData>
|
</UserData>
|
||||||
<EnableFirewall>false</EnableFirewall>
|
<EnableFirewall>false</EnableFirewall>
|
||||||
<Diagnostics>
|
<Diagnostics>
|
||||||
|
@ -115,7 +115,7 @@ parseVersion() {
|
|||||||
;;
|
;;
|
||||||
"ltsc11" | "11ltsc" | "win11-ltsc" | "win11x64-ltsc" | "win11x64-enterprise-ltsc-eval" )
|
"ltsc11" | "11ltsc" | "win11-ltsc" | "win11x64-ltsc" | "win11x64-enterprise-ltsc-eval" )
|
||||||
VERSION="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" )
|
"ltsc10" | "10ltsc" | "win10-ltsc" | "win10x64-ltsc" | "win10x64-enterprise-ltsc-eval" )
|
||||||
VERSION="win10x64-enterprise-ltsc-eval"
|
VERSION="win10x64-enterprise-ltsc-eval"
|
||||||
@ -420,7 +420,7 @@ printEdition() {
|
|||||||
edition="Education"
|
edition="Education"
|
||||||
;;
|
;;
|
||||||
*"-iot" | *"-iot-eval" )
|
*"-iot" | *"-iot-eval" )
|
||||||
edition="IoT"
|
edition="LTSC"
|
||||||
;;
|
;;
|
||||||
*"-ltsc" | *"-ltsc-eval" )
|
*"-ltsc" | *"-ltsc-eval" )
|
||||||
edition="LTSC"
|
edition="LTSC"
|
||||||
@ -2134,9 +2134,6 @@ setMachine() {
|
|||||||
if ! prepare2k3 "$iso" "$dir" "$desc"; then
|
if ! prepare2k3 "$iso" "$dir" "$desc"; then
|
||||||
error "Failed to prepare $desc ISO!" && return 1
|
error "Failed to prepare $desc ISO!" && return 1
|
||||||
fi ;;
|
fi ;;
|
||||||
"win2025"* | "win11x64-iot"* | "win11x64-ltsc"* )
|
|
||||||
# Temporary: Use IDE CD to workaround install bug
|
|
||||||
MEDIA_TYPE="ide" ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user