From b4371bd37d4a867ad608209bc386bc6780d9de40 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 27 Jan 2024 17:57:26 +0100 Subject: [PATCH] feat: Add Tiny11 option (#111) --- readme.md | 21 +++++++++++---------- src/install.sh | 17 +++++++++++------ 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/readme.md b/readme.md index b622548..bfc40e1 100644 --- a/readme.md +++ b/readme.md @@ -76,16 +76,17 @@ docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti | **Value** | **Description** | **Server** | **Transfer** | **Size** | |---|---|---|---|---| - | ```win11``` | Windows 11 Pro | Microsoft | Fast | 6.4 GB | - | ```win10``` | Windows 10 Pro | Microsoft | Fast | 5.8 GB | - | ```ltsc10``` | Windows 10 LTSC | Microsoft | Fast | 4.6 GB | - | ```win81``` | Windows 8.1 Pro | Microsoft | Fast | 4.2 GB | - | ```win7``` | Windows 7 SP1 | Bob Pony | Medium | 3.0 GB | - | ```win22``` | Windows Server 2022 | Microsoft | Fast | 4.7 GB | - | ```win19``` | Windows Server 2019 | Microsoft | Fast | 5.3 GB | - | ```win16``` | Windows Server 2016 | Microsoft | Fast | 6.5 GB | - | ```tiny10``` | Tiny 10 | Archive.org | Slow | 3.6 GB | - | ```tiny11``` | Tiny 11 Core | Archive.org | Slow | 2.1 GB | + | `win11` | Windows 11 Pro | Microsoft | Fast | 6.4 GB | + | `win10` | Windows 10 Pro | Microsoft | Fast | 5.8 GB | + | `ltsc10` | Windows 10 LTSC | Microsoft | Fast | 4.6 GB | + | `win81` | Windows 8.1 Pro | Microsoft | Fast | 4.2 GB | + | `win7` | Windows 7 SP1 | Bob Pony | Medium | 3.0 GB | + | `win22` | Windows Server 2022 | Microsoft | Fast | 4.7 GB | + | `win19` | Windows Server 2019 | Microsoft | Fast | 5.3 GB | + | `win16` | Windows Server 2016 | Microsoft | Fast | 6.5 GB | + | `tiny10` | Tiny 10 | Archive.org | Slow | 3.6 GB | + | `tiny11` | Tiny 11 | Archive.org | Slow | 3.8 GB | + | `core11` | Tiny 11 Core | Archive.org | Slow | 2.1 GB | * ### How do I increase the amount of CPU or RAM? diff --git a/src/install.sh b/src/install.sh index e0ae78a..4d026cc 100644 --- a/src/install.sh +++ b/src/install.sh @@ -48,21 +48,26 @@ if [[ "${VERSION,,}" == "win10x64-enterprise-ltsc-eval" ]]; then DETECTED="win10x64-ltsc" fi -if [[ "${VERSION,,}" == "tiny10" ]]; then - DETECTED="win10x64-ltsc" - VERSION="https://archive.org/download/tiny-10-23-h2/tiny10%20x64%2023h2.iso" -fi - if [[ "${VERSION,,}" == "win7x64" ]]; then DETECTED="win7x64" VERSION="https://dl.bobpony.com/windows/7/en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso" fi -if [[ "${VERSION,,}" == "tiny11" ]]; then +if [[ "${VERSION,,}" == "core11" ]]; then DETECTED="win11x64" VERSION="https://archive.org/download/tiny-11-core-x-64-beta-1/tiny11%20core%20x64%20beta%201.iso" fi +if [[ "${VERSION,,}" == "tiny11" ]]; then + DETECTED="win11x64" + VERSION="https://archive.org/download/tiny11-2311/tiny11%202311%20x64.iso" +fi + +if [[ "${VERSION,,}" == "tiny10" ]]; then + DETECTED="win10x64-ltsc" + VERSION="https://archive.org/download/tiny-10-23-h2/tiny10%20x64%2023h2.iso" +fi + CUSTOM="custom.iso" [ ! -f "$STORAGE/$CUSTOM" ] && CUSTOM="Custom.iso"