mirror of
https://github.com/dockur/windows.git
synced 2024-11-15 01:34:41 +00:00
fix: Windows 10 LTSC detection (#110)
This commit is contained in:
parent
6b31a9d943
commit
46de9e8fc0
@ -74,7 +74,7 @@ docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
|||||||
|
|
||||||
Select from the values below:
|
Select from the values below:
|
||||||
|
|
||||||
| **Value** | **Description** | **Server** | **Speed** | **Size** |
|
| **Value** | **Description** | **Server** | **Transfer** | **Size** |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| ```win11``` | Windows 11 Pro | Microsoft | Fast | 6.4 GB |
|
| ```win11``` | Windows 11 Pro | Microsoft | Fast | 6.4 GB |
|
||||||
| ```win10``` | Windows 10 Pro | Microsoft | Fast | 5.8 GB |
|
| ```win10``` | Windows 10 Pro | Microsoft | Fast | 5.8 GB |
|
||||||
@ -123,7 +123,9 @@ docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
|||||||
|
|
||||||
* ### How do I perform a manual installation?
|
* ### How do I perform a manual installation?
|
||||||
|
|
||||||
It's best to use the automatic installation, as it optimizes various settings for use with this container. However, if you insist on performing the installation manually, start a clean container with the following environment variable:
|
It's best to use the automatic installation, as it optimizes various settings for use with this container.
|
||||||
|
|
||||||
|
However, if you insist on performing the installation manually, start a clean container with the following environment variable:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
environment:
|
environment:
|
||||||
|
@ -353,7 +353,7 @@ getVersion() {
|
|||||||
[[ "${name,,}" == *"server 2016"* ]] && detected="win2016-eval"
|
[[ "${name,,}" == *"server 2016"* ]] && detected="win2016-eval"
|
||||||
|
|
||||||
if [[ "${name,,}" == *"windows 10"* ]]; then
|
if [[ "${name,,}" == *"windows 10"* ]]; then
|
||||||
if [[ "${name,,}" == *"enterprise ltsc"* ]]; then
|
if [[ "${name,,}" == *"ltsc"* ]]; then
|
||||||
detected="win10x64-ltsc"
|
detected="win10x64-ltsc"
|
||||||
else
|
else
|
||||||
detected="win10x64"
|
detected="win10x64"
|
||||||
|
Loading…
Reference in New Issue
Block a user