diff --git a/.github/workflows/dynamo.yml b/.github/workflows/dynamo.yml new file mode 100644 index 0000000000..a8d4d82d45 --- /dev/null +++ b/.github/workflows/dynamo.yml @@ -0,0 +1,101 @@ +name: "Test supported 💿️" + +on: + workflow_dispatch: + + push: + branches: + - '**' + paths: + - quickget + + pull_request: + branches: + - '**' + paths: + - quickget + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + generate-matrix: + name: "Generate 💿️ Matrix" + runs-on: ubuntu-latest + outputs: + matrix: ${{ steps.set-matrix.outputs.matrix }} + steps: + - name: "Checkout repository" + uses: actions/checkout@v4 + + - name: "💿️ Matrix" + id: set-matrix + run: | + FILES=$(find actions/ -maxdepth 1 -type f -printf "%f\n" | sort) + MATRIX="{\"include\": [" + for file in $FILES; do + MATRIX+="{\"file\": \"$file\"}," + done + MATRIX="${MATRIX%,}]}" + echo "Generated Matrix: $MATRIX" + echo "matrix=$MATRIX" >> $GITHUB_OUTPUT + + - name: "Install dependencies 📦️" + run: | + sudo apt-get -y update + sudo apt-get -y install curl jq + + run-actions: + name: "💿️" + needs: generate-matrix + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }} + steps: + - name: "Checkout repository" + uses: actions/checkout@v4 + + - name: "Checkout 👟 ${{ matrix.file }}" + run: | + mkdir -p results + ./quickget --check ${{ matrix.file }} | tee results/${{ matrix.file }}.txt + if grep -vqE '^(PASS:|SKIP:)' results/${{ matrix.file }}.txt; then + grep -vE '^(PASS:|SKIP:)' results/${{ matrix.file }}.txt >> $GITHUB_STEP_SUMMARY + exit 1 + fi + + + - name: "Upload Results ⬆️" + if: always() + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.file }}.txt + path: results/${{ matrix.file }}.txt + + end: + name: "Finish 🏁" + needs: run-actions + if: always() + runs-on: ubuntu-latest + steps: + - name: "Checkout repository" + uses: actions/checkout@v4 + + - name: "Download results ⬇️" + uses: actions/download-artifact@v4 + with: + path: results + merge-multiple: true + + - name: "Display results 📊" + run: | + for file in results/*.txt; do + cat "$file" >> result + done + PASSED=$(grep -c '^PASS:' result | wc -l) + FAILED=$(grep -c '^FAIL:' result | wc -l 2>/dev/null | echo '0') + SKIPPED=$(grep -c '^SKIP:' result | wc -l) + echo "$PASSED/$FAILED 🏁 / 💀" >> $GITHUB_STEP_SUMMARY + echo "$SKIPPED Skipped" >> $GITHUB_STEP_SUMMARY diff --git a/.gitmodules b/.gitmodules index 52e40d62cb..21fc7ece91 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "build-docs"] path = build-docs - url = git@github.com:philclifford/quickemu-docs.git + url = https://github.com/philclifford/quickemu-docs.git diff --git a/README.md b/README.md index cb9fa95ddf..358adb7351 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ required to run the virtual machines. ## As featured on [Linux Matters](https://linuxmatters.sh) podcast! -The presenters of Linux Matters 🐧🎙️ are the creators of each of the principle Quickemu projects. We discussed Quickemu's 2024 reboot in [Episode 30 - Quickemu Rising From the Bashes](https://linuxmatters.sh/30). +The presenters of Linux Matters 🐧🎙️ are the creators of each of the principal Quickemu projects. We discussed Quickemu's 2024 reboot in [Episode 30 - Quickemu Rising From the Bashes](https://linuxmatters.sh/30).
Linux Matters Podcast diff --git a/TODO/_TEMPLATE_ b/TODO/_TEMPLATE_ new file mode 100644 index 0000000000..b53315f517 --- /dev/null +++ b/TODO/_TEMPLATE_ @@ -0,0 +1,19 @@ +# Template file for '' +OSNAME="" +PRETTY="" +BASEDOF="" +HOMEPAGE="" +DESCRIPTION="" +CREDENTIALS="-" + +function releases_() { + +} + +function editions_() { + +} + +function get_() { + +} diff --git a/TODO/all b/TODO/all new file mode 100644 index 0000000000..791d3c9d5a --- /dev/null +++ b/TODO/all @@ -0,0 +1,1675 @@ +alma 9 boot +alma 9 minimal +alma 9 dvd +alma 8 boot +alma 8 minimal +alma 8 dvd +alpine v3.21 boot +alpine v3.21 minimal +alpine v3.21 dvd +alpine v3.20 boot +alpine v3.20 minimal +alpine v3.20 dvd +alpine v3.19 boot +alpine v3.19 minimal +alpine v3.19 dvd +alpine v3.18 boot +alpine v3.18 minimal +alpine v3.18 dvd +alpine v3.17 boot +alpine v3.17 minimal +alpine v3.17 dvd +alpine v3.16 boot +alpine v3.16 minimal +alpine v3.16 dvd +alpine v3.15 boot +alpine v3.15 minimal +alpine v3.15 dvd +alpine v3.14 boot +alpine v3.14 minimal +alpine v3.14 dvd +alpine v3.13 boot +alpine v3.13 minimal +alpine v3.13 dvd +alpine v3.12 boot +alpine v3.12 minimal +alpine v3.12 dvd +android 9.0 x86_64 +android 9.0 x86 +android 8.1 x86_64 +android 8.1 x86 +android 7.1 x86_64 +android 7.1 x86 +antix 23.1 net-sysv +antix 23.1 core-sysv +antix 23.1 base-sysv +antix 23.1 full-sysv +antix 23.1 net-runit +antix 23.1 core-runit +antix 23.1 base-runit +antix 23.1 full-runit +antix 23 net-sysv +antix 23 core-sysv +antix 23 base-sysv +antix 23 full-sysv +antix 23 net-runit +antix 23 core-runit +antix 23 base-runit +antix 23 full-runit +antix 22 net-sysv +antix 22 core-sysv +antix 22 base-sysv +antix 22 full-sysv +antix 22 net-runit +antix 22 core-runit +antix 22 base-runit +antix 22 full-runit +antix 21 net-sysv +antix 21 core-sysv +antix 21 base-sysv +antix 21 full-sysv +antix 21 net-runit +antix 21 core-runit +antix 21 base-runit +antix 21 full-runit +archcraft latest net-sysv +archcraft latest core-sysv +archcraft latest base-sysv +archcraft latest full-sysv +archcraft latest net-runit +archcraft latest core-runit +archcraft latest base-runit +archcraft latest full-runit +archlinux latest net-sysv +archlinux latest core-sysv +archlinux latest base-sysv +archlinux latest full-sysv +archlinux latest net-runit +archlinux latest core-runit +archlinux latest base-runit +archlinux latest full-runit +arco v25.02.04 net +arco v25.02.04 plasma +arco v25.02.04 pro +arco v25.01.05 net +arco v25.01.05 plasma +arco v25.01.05 pro +arco v25.01.01 net +arco v25.01.01 plasma +arco v25.01.01 pro +arco v24.12.02 net +arco v24.12.02 plasma +arco v24.12.02 pro +arco v24.11.01 net +arco v24.11.01 plasma +arco v24.11.01 pro +artixlinux 20240823 base-dinit +artixlinux 20240823 base-openrc +artixlinux 20240823 base-runit +artixlinux 20240823 base-s6 +artixlinux 20240823 cinnamon-dinit +artixlinux 20240823 cinnamon-openrc +artixlinux 20240823 cinnamon-runit +artixlinux 20240823 cinnamon-s6 +artixlinux 20240823 community-gtk +artixlinux 20240823 community-qt +artixlinux 20240823 lxde-dinit +artixlinux 20240823 lxde-openrc +artixlinux 20240823 lxde-runit +artixlinux 20240823 lxde-s6 +artixlinux 20240823 lxqt-dinit +artixlinux 20240823 lxqt-openrc +artixlinux 20240823 lxqt-runit +artixlinux 20240823 lxqt-s6 +artixlinux 20240823 mate-dinit +artixlinux 20240823 mate-openrc +artixlinux 20240823 mate-runit +artixlinux 20240823 mate-s6 +artixlinux 20240823 plasma-dinit +artixlinux 20240823 plasma-openrc +artixlinux 20240823 plasma-runit +artixlinux 20240823 plasma-s6 +artixlinux 20240823 xfce-dinit +artixlinux 20240823 xfce-openrc +artixlinux 20240823 xfce-runit +artixlinux 20240823 xfce-s6 +athenaos v23.06.23 base-dinit +athenaos v23.06.23 base-openrc +athenaos v23.06.23 base-runit +athenaos v23.06.23 base-s6 +athenaos v23.06.23 cinnamon-dinit +athenaos v23.06.23 cinnamon-openrc +athenaos v23.06.23 cinnamon-runit +athenaos v23.06.23 cinnamon-s6 +athenaos v23.06.23 community-gtk +athenaos v23.06.23 community-qt +athenaos v23.06.23 lxde-dinit +athenaos v23.06.23 lxde-openrc +athenaos v23.06.23 lxde-runit +athenaos v23.06.23 lxde-s6 +athenaos v23.06.23 lxqt-dinit +athenaos v23.06.23 lxqt-openrc +athenaos v23.06.23 lxqt-runit +athenaos v23.06.23 lxqt-s6 +athenaos v23.06.23 mate-dinit +athenaos v23.06.23 mate-openrc +athenaos v23.06.23 mate-runit +athenaos v23.06.23 mate-s6 +athenaos v23.06.23 plasma-dinit +athenaos v23.06.23 plasma-openrc +athenaos v23.06.23 plasma-runit +athenaos v23.06.23 plasma-s6 +athenaos v23.06.23 xfce-dinit +athenaos v23.06.23 xfce-openrc +athenaos v23.06.23 xfce-runit +athenaos v23.06.23 xfce-s6 +athenaos v23.11 base-dinit +athenaos v23.11 base-openrc +athenaos v23.11 base-runit +athenaos v23.11 base-s6 +athenaos v23.11 cinnamon-dinit +athenaos v23.11 cinnamon-openrc +athenaos v23.11 cinnamon-runit +athenaos v23.11 cinnamon-s6 +athenaos v23.11 community-gtk +athenaos v23.11 community-qt +athenaos v23.11 lxde-dinit +athenaos v23.11 lxde-openrc +athenaos v23.11 lxde-runit +athenaos v23.11 lxde-s6 +athenaos v23.11 lxqt-dinit +athenaos v23.11 lxqt-openrc +athenaos v23.11 lxqt-runit +athenaos v23.11 lxqt-s6 +athenaos v23.11 mate-dinit +athenaos v23.11 mate-openrc +athenaos v23.11 mate-runit +athenaos v23.11 mate-s6 +athenaos v23.11 plasma-dinit +athenaos v23.11 plasma-openrc +athenaos v23.11 plasma-runit +athenaos v23.11 plasma-s6 +athenaos v23.11 xfce-dinit +athenaos v23.11 xfce-openrc +athenaos v23.11 xfce-runit +athenaos v23.11 xfce-s6 +batocera 41 base-dinit +batocera 41 base-openrc +batocera 41 base-runit +batocera 41 base-s6 +batocera 41 cinnamon-dinit +batocera 41 cinnamon-openrc +batocera 41 cinnamon-runit +batocera 41 cinnamon-s6 +batocera 41 community-gtk +batocera 41 community-qt +batocera 41 lxde-dinit +batocera 41 lxde-openrc +batocera 41 lxde-runit +batocera 41 lxde-s6 +batocera 41 lxqt-dinit +batocera 41 lxqt-openrc +batocera 41 lxqt-runit +batocera 41 lxqt-s6 +batocera 41 mate-dinit +batocera 41 mate-openrc +batocera 41 mate-runit +batocera 41 mate-s6 +batocera 41 plasma-dinit +batocera 41 plasma-openrc +batocera 41 plasma-runit +batocera 41 plasma-s6 +batocera 41 xfce-dinit +batocera 41 xfce-openrc +batocera 41 xfce-runit +batocera 41 xfce-s6 +batocera 40 base-dinit +batocera 40 base-openrc +batocera 40 base-runit +batocera 40 base-s6 +batocera 40 cinnamon-dinit +batocera 40 cinnamon-openrc +batocera 40 cinnamon-runit +batocera 40 cinnamon-s6 +batocera 40 community-gtk +batocera 40 community-qt +batocera 40 lxde-dinit +batocera 40 lxde-openrc +batocera 40 lxde-runit +batocera 40 lxde-s6 +batocera 40 lxqt-dinit +batocera 40 lxqt-openrc +batocera 40 lxqt-runit +batocera 40 lxqt-s6 +batocera 40 mate-dinit +batocera 40 mate-openrc +batocera 40 mate-runit +batocera 40 mate-s6 +batocera 40 plasma-dinit +batocera 40 plasma-openrc +batocera 40 plasma-runit +batocera 40 plasma-s6 +batocera 40 xfce-dinit +batocera 40 xfce-openrc +batocera 40 xfce-runit +batocera 40 xfce-s6 +batocera 39 base-dinit +batocera 39 base-openrc +batocera 39 base-runit +batocera 39 base-s6 +batocera 39 cinnamon-dinit +batocera 39 cinnamon-openrc +batocera 39 cinnamon-runit +batocera 39 cinnamon-s6 +batocera 39 community-gtk +batocera 39 community-qt +batocera 39 lxde-dinit +batocera 39 lxde-openrc +batocera 39 lxde-runit +batocera 39 lxde-s6 +batocera 39 lxqt-dinit +batocera 39 lxqt-openrc +batocera 39 lxqt-runit +batocera 39 lxqt-s6 +batocera 39 mate-dinit +batocera 39 mate-openrc +batocera 39 mate-runit +batocera 39 mate-s6 +batocera 39 plasma-dinit +batocera 39 plasma-openrc +batocera 39 plasma-runit +batocera 39 plasma-s6 +batocera 39 xfce-dinit +batocera 39 xfce-openrc +batocera 39 xfce-runit +batocera 39 xfce-s6 +batocera 38 base-dinit +batocera 38 base-openrc +batocera 38 base-runit +batocera 38 base-s6 +batocera 38 cinnamon-dinit +batocera 38 cinnamon-openrc +batocera 38 cinnamon-runit +batocera 38 cinnamon-s6 +batocera 38 community-gtk +batocera 38 community-qt +batocera 38 lxde-dinit +batocera 38 lxde-openrc +batocera 38 lxde-runit +batocera 38 lxde-s6 +batocera 38 lxqt-dinit +batocera 38 lxqt-openrc +batocera 38 lxqt-runit +batocera 38 lxqt-s6 +batocera 38 mate-dinit +batocera 38 mate-openrc +batocera 38 mate-runit +batocera 38 mate-s6 +batocera 38 plasma-dinit +batocera 38 plasma-openrc +batocera 38 plasma-runit +batocera 38 plasma-s6 +batocera 38 xfce-dinit +batocera 38 xfce-openrc +batocera 38 xfce-runit +batocera 38 xfce-s6 +batocera 37 base-dinit +batocera 37 base-openrc +batocera 37 base-runit +batocera 37 base-s6 +batocera 37 cinnamon-dinit +batocera 37 cinnamon-openrc +batocera 37 cinnamon-runit +batocera 37 cinnamon-s6 +batocera 37 community-gtk +batocera 37 community-qt +batocera 37 lxde-dinit +batocera 37 lxde-openrc +batocera 37 lxde-runit +batocera 37 lxde-s6 +batocera 37 lxqt-dinit +batocera 37 lxqt-openrc +batocera 37 lxqt-runit +batocera 37 lxqt-s6 +batocera 37 mate-dinit +batocera 37 mate-openrc +batocera 37 mate-runit +batocera 37 mate-s6 +batocera 37 plasma-dinit +batocera 37 plasma-openrc +batocera 37 plasma-runit +batocera 37 plasma-s6 +batocera 37 xfce-dinit +batocera 37 xfce-openrc +batocera 37 xfce-runit +batocera 37 xfce-s6 +bazzite latest gnome +bazzite latest kde +bodhi 7.0.0 standard +bodhi 7.0.0 hwe +bodhi 7.0.0 s76 +bodhi 7.0.0 apppack +bunsenlabs boron standard +bunsenlabs boron hwe +bunsenlabs boron s76 +bunsenlabs boron apppack +cachyos latest desktop +cachyos latest handheld +centos-stream 10 boot +centos-stream 10 dvd1 +centos-stream 9 boot +centos-stream 9 dvd1 +chimeralinux latest base +chimeralinux latest gnome +crunchbang++ 12.0 base +crunchbang++ 12.0 gnome +crunchbang++ 11.2 base +crunchbang++ 11.2 gnome +crunchbang++ 10.1 base +crunchbang++ 10.1 gnome +crunchbang++ 9.0 base +crunchbang++ 9.0 gnome +debian 12.9.0 standard +debian 12.9.0 cinnamon +debian 12.9.0 gnome +debian 12.9.0 kde +debian 12.9.0 lxde +debian 12.9.0 lxqt +debian 12.9.0 mate +debian 12.9.0 xfce +debian 12.9.0 netinst +debian 11.11.0 standard +debian 11.11.0 cinnamon +debian 11.11.0 gnome +debian 11.11.0 kde +debian 11.11.0 lxde +debian 11.11.0 lxqt +debian 11.11.0 mate +debian 11.11.0 xfce +debian 11.11.0 netinst +debian 10.13.0 standard +debian 10.13.0 cinnamon +debian 10.13.0 gnome +debian 10.13.0 kde +debian 10.13.0 lxde +debian 10.13.0 lxqt +debian 10.13.0 mate +debian 10.13.0 xfce +debian 10.13.0 netinst +deepin 23 standard +deepin 23 cinnamon +deepin 23 gnome +deepin 23 kde +deepin 23 lxde +deepin 23 lxqt +deepin 23 mate +deepin 23 xfce +deepin 23 netinst +deepin 20.9 standard +deepin 20.9 cinnamon +deepin 20.9 gnome +deepin 20.9 kde +deepin 20.9 lxde +deepin 20.9 lxqt +deepin 20.9 mate +deepin 20.9 xfce +deepin 20.9 netinst +devuan daedalus standard +devuan daedalus cinnamon +devuan daedalus gnome +devuan daedalus kde +devuan daedalus lxde +devuan daedalus lxqt +devuan daedalus mate +devuan daedalus xfce +devuan daedalus netinst +devuan chimaera standard +devuan chimaera cinnamon +devuan chimaera gnome +devuan chimaera kde +devuan chimaera lxde +devuan chimaera lxqt +devuan chimaera mate +devuan chimaera xfce +devuan chimaera netinst +devuan beowulf standard +devuan beowulf cinnamon +devuan beowulf gnome +devuan beowulf kde +devuan beowulf lxde +devuan beowulf lxqt +devuan beowulf mate +devuan beowulf xfce +devuan beowulf netinst +dragonflybsd 6.4.0 standard +dragonflybsd 6.4.0 cinnamon +dragonflybsd 6.4.0 gnome +dragonflybsd 6.4.0 kde +dragonflybsd 6.4.0 lxde +dragonflybsd 6.4.0 lxqt +dragonflybsd 6.4.0 mate +dragonflybsd 6.4.0 xfce +dragonflybsd 6.4.0 netinst +dragonflybsd 6.2.2 standard +dragonflybsd 6.2.2 cinnamon +dragonflybsd 6.2.2 gnome +dragonflybsd 6.2.2 kde +dragonflybsd 6.2.2 lxde +dragonflybsd 6.2.2 lxqt +dragonflybsd 6.2.2 mate +dragonflybsd 6.2.2 xfce +dragonflybsd 6.2.2 netinst +dragonflybsd 6.2.1 standard +dragonflybsd 6.2.1 cinnamon +dragonflybsd 6.2.1 gnome +dragonflybsd 6.2.1 kde +dragonflybsd 6.2.1 lxde +dragonflybsd 6.2.1 lxqt +dragonflybsd 6.2.1 mate +dragonflybsd 6.2.1 xfce +dragonflybsd 6.2.1 netinst +dragonflybsd 6.0.1 standard +dragonflybsd 6.0.1 cinnamon +dragonflybsd 6.0.1 gnome +dragonflybsd 6.0.1 kde +dragonflybsd 6.0.1 lxde +dragonflybsd 6.0.1 lxqt +dragonflybsd 6.0.1 mate +dragonflybsd 6.0.1 xfce +dragonflybsd 6.0.1 netinst +dragonflybsd 6.0.0 standard +dragonflybsd 6.0.0 cinnamon +dragonflybsd 6.0.0 gnome +dragonflybsd 6.0.0 kde +dragonflybsd 6.0.0 lxde +dragonflybsd 6.0.0 lxqt +dragonflybsd 6.0.0 mate +dragonflybsd 6.0.0 xfce +dragonflybsd 6.0.0 netinst +dragonflybsd 5.8.3 standard +dragonflybsd 5.8.3 cinnamon +dragonflybsd 5.8.3 gnome +dragonflybsd 5.8.3 kde +dragonflybsd 5.8.3 lxde +dragonflybsd 5.8.3 lxqt +dragonflybsd 5.8.3 mate +dragonflybsd 5.8.3 xfce +dragonflybsd 5.8.3 netinst +dragonflybsd 5.8.2 standard +dragonflybsd 5.8.2 cinnamon +dragonflybsd 5.8.2 gnome +dragonflybsd 5.8.2 kde +dragonflybsd 5.8.2 lxde +dragonflybsd 5.8.2 lxqt +dragonflybsd 5.8.2 mate +dragonflybsd 5.8.2 xfce +dragonflybsd 5.8.2 netinst +dragonflybsd 5.8.1 standard +dragonflybsd 5.8.1 cinnamon +dragonflybsd 5.8.1 gnome +dragonflybsd 5.8.1 kde +dragonflybsd 5.8.1 lxde +dragonflybsd 5.8.1 lxqt +dragonflybsd 5.8.1 mate +dragonflybsd 5.8.1 xfce +dragonflybsd 5.8.1 netinst +dragonflybsd 5.6.3 standard +dragonflybsd 5.6.3 cinnamon +dragonflybsd 5.6.3 gnome +dragonflybsd 5.6.3 kde +dragonflybsd 5.6.3 lxde +dragonflybsd 5.6.3 lxqt +dragonflybsd 5.6.3 mate +dragonflybsd 5.6.3 xfce +dragonflybsd 5.6.3 netinst +dragonflybsd 5.8.0 standard +dragonflybsd 5.8.0 cinnamon +dragonflybsd 5.8.0 gnome +dragonflybsd 5.8.0 kde +dragonflybsd 5.8.0 lxde +dragonflybsd 5.8.0 lxqt +dragonflybsd 5.8.0 mate +dragonflybsd 5.8.0 xfce +dragonflybsd 5.8.0 netinst +dragonflybsd 5.6.2 standard +dragonflybsd 5.6.2 cinnamon +dragonflybsd 5.6.2 gnome +dragonflybsd 5.6.2 kde +dragonflybsd 5.6.2 lxde +dragonflybsd 5.6.2 lxqt +dragonflybsd 5.6.2 mate +dragonflybsd 5.6.2 xfce +dragonflybsd 5.6.2 netinst +dragonflybsd 5.6.1 standard +dragonflybsd 5.6.1 cinnamon +dragonflybsd 5.6.1 gnome +dragonflybsd 5.6.1 kde +dragonflybsd 5.6.1 lxde +dragonflybsd 5.6.1 lxqt +dragonflybsd 5.6.1 mate +dragonflybsd 5.6.1 xfce +dragonflybsd 5.6.1 netinst +dragonflybsd 5.6.0 standard +dragonflybsd 5.6.0 cinnamon +dragonflybsd 5.6.0 gnome +dragonflybsd 5.6.0 kde +dragonflybsd 5.6.0 lxde +dragonflybsd 5.6.0 lxqt +dragonflybsd 5.6.0 mate +dragonflybsd 5.6.0 xfce +dragonflybsd 5.6.0 netinst +dragonflybsd 5.4.3 standard +dragonflybsd 5.4.3 cinnamon +dragonflybsd 5.4.3 gnome +dragonflybsd 5.4.3 kde +dragonflybsd 5.4.3 lxde +dragonflybsd 5.4.3 lxqt +dragonflybsd 5.4.3 mate +dragonflybsd 5.4.3 xfce +dragonflybsd 5.4.3 netinst +dragonflybsd 5.4.2 standard +dragonflybsd 5.4.2 cinnamon +dragonflybsd 5.4.2 gnome +dragonflybsd 5.4.2 kde +dragonflybsd 5.4.2 lxde +dragonflybsd 5.4.2 lxqt +dragonflybsd 5.4.2 mate +dragonflybsd 5.4.2 xfce +dragonflybsd 5.4.2 netinst +dragonflybsd 5.4.1 standard +dragonflybsd 5.4.1 cinnamon +dragonflybsd 5.4.1 gnome +dragonflybsd 5.4.1 kde +dragonflybsd 5.4.1 lxde +dragonflybsd 5.4.1 lxqt +dragonflybsd 5.4.1 mate +dragonflybsd 5.4.1 xfce +dragonflybsd 5.4.1 netinst +dragonflybsd 5.4.0 standard +dragonflybsd 5.4.0 cinnamon +dragonflybsd 5.4.0 gnome +dragonflybsd 5.4.0 kde +dragonflybsd 5.4.0 lxde +dragonflybsd 5.4.0 lxqt +dragonflybsd 5.4.0 mate +dragonflybsd 5.4.0 xfce +dragonflybsd 5.4.0 netinst +dragonflybsd 5.2.2 standard +dragonflybsd 5.2.2 cinnamon +dragonflybsd 5.2.2 gnome +dragonflybsd 5.2.2 kde +dragonflybsd 5.2.2 lxde +dragonflybsd 5.2.2 lxqt +dragonflybsd 5.2.2 mate +dragonflybsd 5.2.2 xfce +dragonflybsd 5.2.2 netinst +dragonflybsd 5.2.1 standard +dragonflybsd 5.2.1 cinnamon +dragonflybsd 5.2.1 gnome +dragonflybsd 5.2.1 kde +dragonflybsd 5.2.1 lxde +dragonflybsd 5.2.1 lxqt +dragonflybsd 5.2.1 mate +dragonflybsd 5.2.1 xfce +dragonflybsd 5.2.1 netinst +dragonflybsd 5.2.0 standard +dragonflybsd 5.2.0 cinnamon +dragonflybsd 5.2.0 gnome +dragonflybsd 5.2.0 kde +dragonflybsd 5.2.0 lxde +dragonflybsd 5.2.0 lxqt +dragonflybsd 5.2.0 mate +dragonflybsd 5.2.0 xfce +dragonflybsd 5.2.0 netinst +dragonflybsd 5.0.2 standard +dragonflybsd 5.0.2 cinnamon +dragonflybsd 5.0.2 gnome +dragonflybsd 5.0.2 kde +dragonflybsd 5.0.2 lxde +dragonflybsd 5.0.2 lxqt +dragonflybsd 5.0.2 mate +dragonflybsd 5.0.2 xfce +dragonflybsd 5.0.2 netinst +dragonflybsd 5.0.1 standard +dragonflybsd 5.0.1 cinnamon +dragonflybsd 5.0.1 gnome +dragonflybsd 5.0.1 kde +dragonflybsd 5.0.1 lxde +dragonflybsd 5.0.1 lxqt +dragonflybsd 5.0.1 mate +dragonflybsd 5.0.1 xfce +dragonflybsd 5.0.1 netinst +dragonflybsd 5.0.0 standard +dragonflybsd 5.0.0 cinnamon +dragonflybsd 5.0.0 gnome +dragonflybsd 5.0.0 kde +dragonflybsd 5.0.0 lxde +dragonflybsd 5.0.0 lxqt +dragonflybsd 5.0.0 mate +dragonflybsd 5.0.0 xfce +dragonflybsd 5.0.0 netinst +dsl 2024.rc7 lz4 +dsl 2024.rc7 cdrom +easyos 5.8.5 lz4 +easyos 5.8.5 cdrom +easyos 5.8.5 lz4 +easyos 5.8.5 cdrom +elementary 8.0 lz4 +elementary 8.0 cdrom +elementary 7.1 lz4 +elementary 7.1 cdrom +elementary 7.0 lz4 +elementary 7.0 cdrom +endeavouros mercury-2025.02.08 lz4 +endeavouros mercury-2025.02.08 cdrom +endeavouros gemini-2024.04.20 lz4 +endeavouros gemini-2024.04.20 cdrom +endeavouros galileo-neo-2024.01.25 lz4 +endeavouros galileo-neo-2024.01.25 cdrom +endeavouros galileo-11-2023 lz4 +endeavouros galileo-11-2023 cdrom +endeavouros endeavour_neo-2024.09.22 lz4 +endeavouros endeavour_neo-2024.09.22 cdrom +endless 6.0.4 base +endless 6.0.4 en +endless 6.0.4 fr +endless 6.0.4 pt_BR +endless 6.0.4 es +fedora 41 Budgie +fedora 41 Cinnamon +fedora 41 KDE +fedora 41 KDE_Mobile +fedora 41 Kinoite +fedora 41 LXDE +fedora 41 LXQt +fedora 41 Mate +fedora 41 MiracleWM +fedora 41 Onyx +fedora 41 Sericea +fedora 41 Server +fedora 41 Silverblue +fedora 41 Sway +fedora 41 Workstation +fedora 41 Xfce +fedora 41 i3 +fedora 40 Budgie +fedora 40 Cinnamon +fedora 40 KDE +fedora 40 Kinoite +fedora 40 LXDE +fedora 40 LXQt +fedora 40 Mate +fedora 40 Onyx +fedora 40 Sericea +fedora 40 Server +fedora 40 Silverblue +fedora 40 Sway +fedora 40 Workstation +fedora 40 Xfce +fedora 40 i3 +fedora 39 Budgie +fedora 39 Cinnamon +fedora 39 KDE +fedora 39 Kinoite +fedora 39 LXDE +fedora 39 LXQt +fedora 39 Mate +fedora 39 Server +fedora 39 Silverblue +fedora 39 Sway +fedora 39 Workstation +fedora 39 Xfce +fedora 39 i3 +freebsd 14.2 disc1 +freebsd 14.2 dvd1 +freebsd 14.1 disc1 +freebsd 14.1 dvd1 +freebsd 13.4 disc1 +freebsd 13.4 dvd1 +freebsd 13.3 disc1 +freebsd 13.3 dvd1 +freedos 1.3 disc1 +freedos 1.3 dvd1 +freedos 1.2 disc1 +freedos 1.2 dvd1 +garuda latest cinnamon +garuda latest dr460nized +garuda latest dr460nized-gaming +garuda latest gnome +garuda latest i3 +garuda latest kde-git +garuda latest kde-lite +garuda latest lxqt-kwin +garuda latest mate +garuda latest qtile +garuda latest sway +garuda latest wayfire +garuda latest xfce +gentoo latest minimal +gentoo latest livegui +ghostbsd 24.10.1 mate +ghostbsd 24.10.1 xfce +ghostbsd 24.07.3 mate +ghostbsd 24.07.3 xfce +ghostbsd 24.07.2 mate +ghostbsd 24.07.2 xfce +gnomeos nightly mate +gnomeos nightly xfce +gnomeos 48.alpha mate +gnomeos 48.alpha xfce +gnomeos 47.rc mate +gnomeos 47.rc xfce +gnomeos 47.beta mate +gnomeos 47.beta xfce +gnomeos 47.alpha mate +gnomeos 47.alpha xfce +gnomeos 47.0 mate +gnomeos 47.0 xfce +gnomeos 46.rc mate +gnomeos 46.rc xfce +gnomeos 46.beta mate +gnomeos 46.beta xfce +gnomeos 46.alpha mate +gnomeos 46.alpha xfce +gnomeos 46.0 mate +gnomeos 46.0 xfce +gnomeos 45.rc mate +gnomeos 45.rc xfce +gnomeos 45.beta mate +gnomeos 45.beta xfce +gnomeos 44.rc mate +gnomeos 44.rc xfce +gnomeos 44.beta mate +gnomeos 44.beta xfce +gnomeos 44.0 mate +gnomeos 44.0 xfce +gnomeos 43.beta mate +gnomeos 43.beta xfce +gnomeos 43.alpha mate +gnomeos 43.alpha xfce +gnomeos 43.0 mate +gnomeos 43.0 xfce +gnomeos 42.rc mate +gnomeos 42.rc xfce +gnomeos 42.beta mate +gnomeos 42.beta xfce +gnomeos 42.0 mate +gnomeos 42.0 xfce +gnomeos 41.rc mate +gnomeos 41.rc xfce +gnomeos 41.beta mate +gnomeos 41.beta xfce +gnomeos 41.0 mate +gnomeos 41.0 xfce +gnomeos 40.rc mate +gnomeos 40.rc xfce +gnomeos 40.beta mate +gnomeos 40.beta xfce +gnomeos 40.0 mate +gnomeos 40.0 xfce +gnomeos 3.38.1 mate +gnomeos 3.38.1 xfce +gnomeos 3.38.0 mate +gnomeos 3.38.0 xfce +guix 1.4.0 mate +guix 1.4.0 xfce +guix 1.3.0 mate +guix 1.3.0 xfce +haiku r1beta5 x86_64 +haiku r1beta5 x86_gcc2h +haiku r1beta4 x86_64 +haiku r1beta4 x86_gcc2h +haiku r1beta3 x86_64 +haiku r1beta3 x86_gcc2h +kali current x86_64 +kali current x86_gcc2h +kali kali-weekly x86_64 +kali kali-weekly x86_gcc2h +kdeneon user x86_64 +kdeneon user x86_gcc2h +kdeneon testing x86_64 +kdeneon testing x86_gcc2h +kdeneon unstable x86_64 +kdeneon unstable x86_gcc2h +kdeneon developer x86_64 +kdeneon developer x86_gcc2h +kolibrios latest en_US +kolibrios latest ru_RU +kolibrios latest it_IT +kolibrios latest es_ES +linuxlite 6.6 en_US +linuxlite 6.6 ru_RU +linuxlite 6.6 it_IT +linuxlite 6.6 es_ES +linuxlite 6.4 en_US +linuxlite 6.4 ru_RU +linuxlite 6.4 it_IT +linuxlite 6.4 es_ES +linuxlite 6.2 en_US +linuxlite 6.2 ru_RU +linuxlite 6.2 it_IT +linuxlite 6.2 es_ES +linuxlite 6.0 en_US +linuxlite 6.0 ru_RU +linuxlite 6.0 it_IT +linuxlite 6.0 es_ES +linuxmint 22.1 cinnamon +linuxmint 22.1 mate +linuxmint 22.1 xfce +linuxmint 22 cinnamon +linuxmint 22 mate +linuxmint 22 xfce +linuxmint 21.3 cinnamon +linuxmint 21.3 mate +linuxmint 21.3 xfce +linuxmint 21.2 cinnamon +linuxmint 21.2 mate +linuxmint 21.2 xfce +linuxmint 21.1 cinnamon +linuxmint 21.1 mate +linuxmint 21.1 xfce +linuxmint 21 cinnamon +linuxmint 21 mate +linuxmint 21 xfce +linuxmint 20.3 cinnamon +linuxmint 20.3 mate +linuxmint 20.3 xfce +linuxmint 20.2 cinnamon +linuxmint 20.2 mate +linuxmint 20.2 xfce +lmde 6 cinnamon +maboxlinux latest cinnamon +macos mojave: http://oscdn.apple.com/content/downloads/04/36/041-94410/ge73si0bd3fdsdkfibykjgrlcfuzy1q9yx/RecoveryImage/BaseSystem.dmg +macos mojave cinnamon +macos catalina: http://oscdn.apple.com/content/downloads/59/10/001-43312/oifium3yx72dhc4po3r65zfwblslmce191/RecoveryImage/BaseSystem.dmg +macos catalina cinnamon +macos big-sur: http://oscdn.apple.com/content/downloads/41/28/071-71279/5djpevqmc2w0ti2c4n1m8mkz7fm791t1ic/RecoveryImage/BaseSystem.dmg +macos big-sur cinnamon +macos monterey: http://oscdn.apple.com/content/downloads/59/11/012-51692/z29q5x5plswit63bvyxmubthavua9gbxic/RecoveryImage/BaseSystem.dmg +macos monterey cinnamon +macos ventura: http://oscdn.apple.com/content/downloads/60/43/042-01871/sbembiob0hs1o92jfofalts02ux0x8rsra/RecoveryImage/BaseSystem.dmg +macos ventura cinnamon +macos sonoma: http://oscdn.apple.com/content/downloads/40/46/072-70660/yk1lzbgsbfcjusj5jd80j7jnlljq60qc8m/RecoveryImage/BaseSystem.dmg +macos sonoma cinnamon +mageia 9 Plasma +mageia 9 GNOME +mageia 9 Xfce +mageia 8 Plasma +mageia 8 GNOME +mageia 8 Xfce +manjaro xfce full +manjaro xfce minimal +manjaro gnome full +manjaro gnome minimal +manjaro plasma full +manjaro plasma minimal +manjaro cinnamon full +manjaro cinnamon minimal +manjaro i3 full +manjaro i3 minimal +manjaro sway full +manjaro sway minimal +mxlinux 23.5 Xfce +mxlinux 23.5 KDE +mxlinux 23.5 Fluxbox +netboot latest Xfce +netboot latest KDE +netboot latest Fluxbox +netbsd 10.1 Xfce +netbsd 10.1 KDE +netbsd 10.1 Fluxbox +netbsd 10.0 Xfce +netbsd 10.0 KDE +netbsd 10.0 Fluxbox +netbsd 9.4 Xfce +netbsd 9.4 KDE +netbsd 9.4 Fluxbox +netbsd 9.3 Xfce +netbsd 9.3 KDE +netbsd 9.3 Fluxbox +nitrux latest Xfce +nitrux latest KDE +nitrux latest Fluxbox +nixos unstable minimal +nixos unstable plasma +nixos unstable gnome +nixos 24.11 minimal +nixos 24.11 plasma +nixos 24.11 gnome +nixos 24.05 minimal +nixos 24.05 plasma +nixos 24.05 gnome +nwg-shell 2025.01.01 minimal +nwg-shell 2025.01.01 plasma +nwg-shell 2025.01.01 gnome +openbsd 7.6 minimal +openbsd 7.6 plasma +openbsd 7.6 gnome +openbsd 7.5 minimal +openbsd 7.5 plasma +openbsd 7.5 gnome +openbsd 7.4 minimal +openbsd 7.4 plasma +openbsd 7.4 gnome +openbsd 7.3 minimal +openbsd 7.3 plasma +openbsd 7.3 gnome +openbsd 7.2 minimal +openbsd 7.2 plasma +openbsd 7.2 gnome +openbsd 7.1 minimal +openbsd 7.1 plasma +openbsd 7.1 gnome +openbsd 7.0 minimal +openbsd 7.0 plasma +openbsd 7.0 gnome +openbsd 6.9 minimal +openbsd 6.9 plasma +openbsd 6.9 gnome +openbsd 6.8 minimal +openbsd 6.8 plasma +openbsd 6.8 gnome +openindiana 20241026 gui +openindiana 20241026 text +openindiana 20241026 minimal +openindiana 20240426 gui +openindiana 20240426 text +openindiana 20240426 minimal +openindiana 20231027 gui +openindiana 20231027 text +openindiana 20231027 minimal +openindiana 20230502 gui +openindiana 20230502 text +openindiana 20230502 minimal +openindiana 20230421 gui +openindiana 20230421 text +openindiana 20230421 minimal +opensuse 16.0 gui +opensuse 16.0 text +opensuse 16.0 minimal +opensuse 15.6 gui +opensuse 15.6 text +opensuse 15.6 minimal +opensuse 15.5 gui +opensuse 15.5 text +opensuse 15.5 minimal +opensuse 15.4 gui +opensuse 15.4 text +opensuse 15.4 minimal +opensuse 15.3 gui +opensuse 15.3 text +opensuse 15.3 minimal +opensuse 15.2 gui +opensuse 15.2 text +opensuse 15.2 minimal +opensuse 15.1 gui +opensuse 15.1 text +opensuse 15.1 minimal +opensuse 15.0 gui +opensuse 15.0 text +opensuse 15.0 minimal +opensuse aeon gui +opensuse aeon text +opensuse aeon minimal +opensuse microos gui +opensuse microos text +opensuse microos minimal +opensuse tumbleweed gui +opensuse tumbleweed text +opensuse tumbleweed minimal +oraclelinux 9.3 gui +oraclelinux 9.3 text +oraclelinux 9.3 minimal +oraclelinux 9.2 gui +oraclelinux 9.2 text +oraclelinux 9.2 minimal +oraclelinux 9.1 gui +oraclelinux 9.1 text +oraclelinux 9.1 minimal +oraclelinux 9.0 gui +oraclelinux 9.0 text +oraclelinux 9.0 minimal +oraclelinux 8.9 gui +oraclelinux 8.9 text +oraclelinux 8.9 minimal +oraclelinux 8.8 gui +oraclelinux 8.8 text +oraclelinux 8.8 minimal +oraclelinux 8.7 gui +oraclelinux 8.7 text +oraclelinux 8.7 minimal +oraclelinux 8.6 gui +oraclelinux 8.6 text +oraclelinux 8.6 minimal +oraclelinux 8.5 gui +oraclelinux 8.5 text +oraclelinux 8.5 minimal +oraclelinux 8.4 gui +oraclelinux 8.4 text +oraclelinux 8.4 minimal +oraclelinux 7.9 gui +oraclelinux 7.9 text +oraclelinux 7.9 minimal +oraclelinux 7.8 gui +oraclelinux 7.8 text +oraclelinux 7.8 minimal +oraclelinux 7.7 gui +oraclelinux 7.7 text +oraclelinux 7.7 minimal +parrotsec 6.3 home +parrotsec 6.3 htb +parrotsec 6.3 security +parrotsec 6.2 home +parrotsec 6.2 htb +parrotsec 6.2 security +parrotsec 6.1 home +parrotsec 6.1 htb +parrotsec 6.1 security +peppermint latest devuan-xfce +peppermint latest devuan-gnome +peppermint latest debian-xfce +peppermint latest debian-gnome +popos 22.04 intel +popos 22.04 nvidia +popos 20.04 intel +popos 20.04 nvidia +porteus 5.01 cinnamon +porteus 5.01 gnome +porteus 5.01 kde +porteus 5.01 lxde +porteus 5.01 lxqt +porteus 5.01 mate +porteus 5.01 openbox +porteus 5.01 xfce +primtux 7 2022-10 +proxmox-ve 8.3-1 2022-10 +proxmox-ve 8.2-2 2022-10 +proxmox-ve 7.4-1 2022-10 +proxmox-ve 6.4-1 2022-10 +proxmox-ve 5.4-1 2022-10 +pureos 10.3 gnome +pureos 10.3 plasma +reactos latest gnome +reactos latest plasma +rebornos latest gnome +rebornos latest plasma +rhino 2025.1 gnome +rhino 2025.1 plasma +rockulinux 9.5 minimal +rockulinux 9.5 dvd +rockulinux 9.5 boot +rockulinux 9.4 minimal +rockulinux 9.4 dvd +rockulinux 9.4 boot +rockulinux 9.3 minimal +rockulinux 9.3 dvd +rockulinux 9.3 boot +rockulinux 9.2 minimal +rockulinux 9.2 dvd +rockulinux 9.2 boot +rockulinux 9.1 minimal +rockulinux 9.1 dvd +rockulinux 9.1 boot +rockulinux 9.0 minimal +rockulinux 9.0 dvd +rockulinux 9.0 boot +rockulinux 8.9 minimal +rockulinux 8.9 dvd +rockulinux 8.9 boot +rockulinux 8.8 minimal +rockulinux 8.8 dvd +rockulinux 8.8 boot +rockulinux 8.7 minimal +rockulinux 8.7 dvd +rockulinux 8.7 boot +rockulinux 8.6 minimal +rockulinux 8.6 dvd +rockulinux 8.6 boot +rockulinux 8.5 minimal +rockulinux 8.5 dvd +rockulinux 8.5 boot +rockulinux 8.4 minimal +rockulinux 8.4 dvd +rockulinux 8.4 boot +rockulinux 8.3 minimal +rockulinux 8.3 dvd +rockulinux 8.3 boot +siduction latest kde +siduction latest lxqt +siduction latest nox +siduction latest xfce +siduction latest xorg +slackware 15.0 kde +slackware 15.0 lxqt +slackware 15.0 nox +slackware 15.0 xfce +slackware 15.0 xorg +slackware 14.2 kde +slackware 14.2 lxqt +slackware 14.2 nox +slackware 14.2 xfce +slackware 14.2 xorg +slackware 14.1 kde +slackware 14.1 lxqt +slackware 14.1 nox +slackware 14.1 xfce +slackware 14.1 xorg +slackware 14.0 kde +slackware 14.0 lxqt +slackware 14.0 nox +slackware 14.0 xfce +slackware 14.0 xorg +slackware 13.37 kde +slackware 13.37 lxqt +slackware 13.37 nox +slackware 13.37 xfce +slackware 13.37 xorg +slax latest debian +slax latest slackware +slint 15.0-5 debian +slint 15.0-5 slackware +slitaz core debian +slitaz core slackware +slitaz core-5in1 debian +slitaz core-5in1 slackware +slitaz core64 debian +slitaz core64 slackware +slitaz loram debian +slitaz loram slackware +slitaz preinit debian +slitaz preinit slackware +sparkylinux 7.6 kde +sparkylinux 7.6 lxqt +sparkylinux 7.6 mate +sparkylinux 7.6 minimalcli +sparkylinux 7.6 minimalgui +sparkylinux 7.6 xfce +spirallinux latest Plasma +spirallinux latest XFCE +spirallinux latest Mate +spirallinux latest LXQt +spirallinux latest Gnome +spirallinux latest Budgie +spirallinux latest Cinnamon +spirallinux latest Builder +tails stable Plasma +tails stable XFCE +tails stable Mate +tails stable LXQt +tails stable Gnome +tails stable Budgie +tails stable Cinnamon +tails stable Builder +tinycore 15 Core +tinycore 15 TinyCore +tinycore 15 CorePlus +tinycore 15 CorePure64 +tinycore 15 TinyCorePure64 +tinycore 14 Core +tinycore 14 TinyCore +tinycore 14 CorePlus +tinycore 14 CorePure64 +tinycore 14 TinyCorePure64 +trisquel 11.0 mate +trisquel 11.0 lxde +trisquel 11.0 kde +trisquel 11.0 sugar +trisquel 10.0.1 mate +trisquel 10.0.1 lxde +trisquel 10.0.1 kde +trisquel 10.0.1 sugar +truenas-core 13 mate +truenas-core 13 lxde +truenas-core 13 kde +truenas-core 13 sugar +truenas-scale 24 mate +truenas-scale 24 lxde +truenas-scale 24 kde +truenas-scale 24 sugar +tuxedo-os current mate +tuxedo-os current lxde +tuxedo-os current kde +tuxedo-os current sugar +ubuntu 14.04 mate +ubuntu 14.04 lxde +ubuntu 14.04 kde +ubuntu 14.04 sugar +ubuntu 16.04 mate +ubuntu 16.04 lxde +ubuntu 16.04 kde +ubuntu 16.04 sugar +ubuntu 18.04 mate +ubuntu 18.04 lxde +ubuntu 18.04 kde +ubuntu 18.04 sugar +ubuntu 20.04 mate +ubuntu 20.04 lxde +ubuntu 20.04 kde +ubuntu 20.04 sugar +ubuntu 22.04 mate +ubuntu 22.04 lxde +ubuntu 22.04 kde +ubuntu 22.04 sugar +ubuntu 24.04 mate +ubuntu 24.04 lxde +ubuntu 24.04 kde +ubuntu 24.04 sugar +ubuntu 24.10 mate +ubuntu 24.10 lxde +ubuntu 24.10 kde +ubuntu 24.10 sugar +ubuntu daily-live mate +ubuntu daily-live lxde +ubuntu daily-live kde +ubuntu daily-live sugar +ubuntu-server daily-live mate +ubuntu-server daily-live lxde +ubuntu-server daily-live kde +ubuntu-server daily-live sugar +ubuntu-server 24.10 mate +ubuntu-server 24.10 lxde +ubuntu-server 24.10 kde +ubuntu-server 24.10 sugar +ubuntu-server 24.04 mate +ubuntu-server 24.04 lxde +ubuntu-server 24.04 kde +ubuntu-server 24.04 sugar +ubuntu-server 22.04 mate +ubuntu-server 22.04 lxde +ubuntu-server 22.04 kde +ubuntu-server 22.04 sugar +ubuntu-server 20.04 mate +ubuntu-server 20.04 lxde +ubuntu-server 20.04 kde +ubuntu-server 20.04 sugar +ubuntu-server 18.04 mate +ubuntu-server 18.04 lxde +ubuntu-server 18.04 kde +ubuntu-server 18.04 sugar +ubuntu-server 16.04 mate +ubuntu-server 16.04 lxde +ubuntu-server 16.04 kde +ubuntu-server 16.04 sugar +ubuntu-server 14.04 mate +ubuntu-server 14.04 lxde +ubuntu-server 14.04 kde +ubuntu-server 14.04 sugar +vanillaos 22.10-r8 mate +vanillaos 22.10-r8 lxde +vanillaos 22.10-r8 kde +vanillaos 22.10-r8 sugar +vanillaos 22.10-r7.5 mate +vanillaos 22.10-r7.5 lxde +vanillaos 22.10-r7.5 kde +vanillaos 22.10-r7.5 sugar +vanillaos 22.10-r7 mate +vanillaos 22.10-r7 lxde +vanillaos 22.10-r7 kde +vanillaos 22.10-r7 sugar +vanillaos 22.10-r6 mate +vanillaos 22.10-r6 lxde +vanillaos 22.10-r6 kde +vanillaos 22.10-r6 sugar +vanillaos 22.10-r5 mate +vanillaos 22.10-r5 lxde +vanillaos 22.10-r5 kde +vanillaos 22.10-r5 sugar +vanillaos 22.10-r4 mate +vanillaos 22.10-r4 lxde +vanillaos 22.10-r4 kde +vanillaos 22.10-r4 sugar +vanillaos 22.10-r3 mate +vanillaos 22.10-r3 lxde +vanillaos 22.10-r3 kde +vanillaos 22.10-r3 sugar +vanillaos 22.10-r2 mate +vanillaos 22.10-r2 lxde +vanillaos 22.10-r2 kde +vanillaos 22.10-r2 sugar +vanillaos 22.10-r1 mate +vanillaos 22.10-r1 lxde +vanillaos 22.10-r1 kde +vanillaos 22.10-r1 sugar +vanillaos 22.10 mate +vanillaos 22.10 lxde +vanillaos 22.10 kde +vanillaos 22.10 sugar +vanillaos 2.0 mate +vanillaos 2.0 lxde +vanillaos 2.0 kde +vanillaos 2.0 sugar +void 20250202 glibc +void 20250202 musl +void 20250202 xfce-glibc +void 20250202 xfce-musl +void 20240314 glibc +void 20240314 musl +void 20240314 xfce-glibc +void 20240314 xfce-musl +void 20230628 glibc +void 20230628 musl +void 20230628 xfce-glibc +void 20230628 xfce-musl +vxlinux 6.1.5 glibc +vxlinux 6.1.5 musl +vxlinux 6.1.5 xfce-glibc +vxlinux 6.1.5 xfce-musl +windows 11 glibc +windows 11 musl +windows 11 xfce-glibc +windows 11 xfce-musl +windows 10 glibc +windows 10 musl +windows 10 xfce-glibc +windows 10 xfce-musl +windows-server 2022 glibc +windows-server 2022 musl +windows-server 2022 xfce-glibc +windows-server 2022 xfce-musl +windows-server 2019 glibc +windows-server 2019 musl +windows-server 2019 xfce-glibc +windows-server 2019 xfce-musl +windows-server 2016 glibc +windows-server 2016 musl +windows-server 2016 xfce-glibc +windows-server 2016 xfce-musl +zorin 17 core64 +zorin 17 lite64 +zorin 17 education64 +zorin 16 core64 +zorin 16 lite64 +zorin 16 education64 +rockylinux 9.5 minimal: https://dl.rockylinux.org/vault/rocky/9.5/isos/x86_64/Rocky-9.5-x86_64-minimal.iso +rockylinux 9.5 dvd: https://dl.rockylinux.org/vault/rocky/9.5/isos/x86_64/Rocky-9.5-x86_64-dvd.iso +rockylinux 9.5 boot: https://dl.rockylinux.org/vault/rocky/9.5/isos/x86_64/Rocky-9.5-x86_64-boot.iso +rockylinux 9.4 minimal: https://dl.rockylinux.org/vault/rocky/9.4/isos/x86_64/Rocky-9.4-x86_64-minimal.iso +rockylinux 9.4 dvd: https://dl.rockylinux.org/vault/rocky/9.4/isos/x86_64/Rocky-9.4-x86_64-dvd.iso +rockylinux 9.4 boot: https://dl.rockylinux.org/vault/rocky/9.4/isos/x86_64/Rocky-9.4-x86_64-boot.iso +rockylinux 9.3 minimal: https://dl.rockylinux.org/vault/rocky/9.3/isos/x86_64/Rocky-9.3-x86_64-minimal.iso +rockylinux 9.3 dvd: https://dl.rockylinux.org/vault/rocky/9.3/isos/x86_64/Rocky-9.3-x86_64-dvd.iso +rockylinux 9.3 boot: https://dl.rockylinux.org/vault/rocky/9.3/isos/x86_64/Rocky-9.3-x86_64-boot.iso +rockylinux 9.2 minimal: https://dl.rockylinux.org/vault/rocky/9.2/isos/x86_64/Rocky-9.2-x86_64-minimal.iso +rockylinux 9.2 dvd: https://dl.rockylinux.org/vault/rocky/9.2/isos/x86_64/Rocky-9.2-x86_64-dvd.iso +rockylinux 9.2 boot: https://dl.rockylinux.org/vault/rocky/9.2/isos/x86_64/Rocky-9.2-x86_64-boot.iso +rockylinux 9.1 minimal: https://dl.rockylinux.org/vault/rocky/9.1/isos/x86_64/Rocky-9.1-x86_64-minimal.iso +rockylinux 9.1 dvd: https://dl.rockylinux.org/vault/rocky/9.1/isos/x86_64/Rocky-9.1-x86_64-dvd.iso +rockylinux 9.1 boot: https://dl.rockylinux.org/vault/rocky/9.1/isos/x86_64/Rocky-9.1-x86_64-boot.iso +rockylinux 9.0 minimal: https://dl.rockylinux.org/vault/rocky/9.0/isos/x86_64/Rocky-9.0-x86_64-minimal.iso +rockylinux 9.0 dvd: https://dl.rockylinux.org/vault/rocky/9.0/isos/x86_64/Rocky-9.0-x86_64-dvd.iso +rockylinux 9.0 boot: https://dl.rockylinux.org/vault/rocky/9.0/isos/x86_64/Rocky-9.0-x86_64-boot.iso +rockylinux 8.9 minimal: https://dl.rockylinux.org/vault/rocky/8.9/isos/x86_64/Rocky-8.9-x86_64-minimal.iso +rockylinux 8.9 dvd: https://dl.rockylinux.org/vault/rocky/8.9/isos/x86_64/Rocky-8.9-x86_64-dvd1.iso +rockylinux 8.9 boot: https://dl.rockylinux.org/vault/rocky/8.9/isos/x86_64/Rocky-8.9-x86_64-boot.iso +rockylinux 8.8 minimal: https://dl.rockylinux.org/vault/rocky/8.8/isos/x86_64/Rocky-8.8-x86_64-minimal.iso +rockylinux 8.8 dvd: https://dl.rockylinux.org/vault/rocky/8.8/isos/x86_64/Rocky-8.8-x86_64-dvd1.iso +rockylinux 8.8 boot: https://dl.rockylinux.org/vault/rocky/8.8/isos/x86_64/Rocky-8.8-x86_64-boot.iso +rockylinux 8.7 minimal: https://dl.rockylinux.org/vault/rocky/8.7/isos/x86_64/Rocky-8.7-x86_64-minimal.iso +rockylinux 8.7 dvd: https://dl.rockylinux.org/vault/rocky/8.7/isos/x86_64/Rocky-8.7-x86_64-dvd1.iso +rockylinux 8.7 boot: https://dl.rockylinux.org/vault/rocky/8.7/isos/x86_64/Rocky-8.7-x86_64-boot.iso +rockylinux 8.6 minimal: https://dl.rockylinux.org/vault/rocky/8.6/isos/x86_64/Rocky-8.6-x86_64-minimal.iso +rockylinux 8.6 dvd: https://dl.rockylinux.org/vault/rocky/8.6/isos/x86_64/Rocky-8.6-x86_64-dvd1.iso +rockylinux 8.6 boot: https://dl.rockylinux.org/vault/rocky/8.6/isos/x86_64/Rocky-8.6-x86_64-boot.iso +rockylinux 8.5 minimal: https://dl.rockylinux.org/vault/rocky/8.5/isos/x86_64/Rocky-8.5-x86_64-minimal.iso +rockylinux 8.5 dvd: https://dl.rockylinux.org/vault/rocky/8.5/isos/x86_64/Rocky-8.5-x86_64-dvd1.iso +rockylinux 8.5 boot: https://dl.rockylinux.org/vault/rocky/8.5/isos/x86_64/Rocky-8.5-x86_64-boot.iso +rockylinux 8.4 minimal: https://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/Rocky-8.4-x86_64-minimal.iso +rockylinux 8.4 dvd: https://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/Rocky-8.4-x86_64-dvd1.iso +rockylinux 8.4 boot: https://dl.rockylinux.org/vault/rocky/8.4/isos/x86_64/Rocky-8.4-x86_64-boot.iso +rockylinux 8.3 minimal: https://dl.rockylinux.org/vault/rocky/8.3/isos/x86_64/Rocky-8.3-x86_64-minimal.iso +rockylinux 8.3 dvd: https://dl.rockylinux.org/vault/rocky/8.3/isos/x86_64/Rocky-8.3-x86_64-dvd1.iso +rockylinux 8.3 boot: https://dl.rockylinux.org/vault/rocky/8.3/isos/x86_64/Rocky-8.3-x86_64-boot.iso +antix 23.1 net-sysv: /-net_x64-net.iso +antix 23.1 core-sysv: /-net_x64-net.iso/_x64-core.iso +antix 23.1 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 23.1 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 23.1 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso +antix 23.1 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso +antix 23.1 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso +antix 23.1 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso +antix 23 net-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso +antix 23 core-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso +antix 23 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 23 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 23 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso +antix 23 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso +antix 23 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso +antix 23 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso +antix 22 net-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso +antix 22 core-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso +antix 22 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 22 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 22 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso +antix 22 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso +antix 22 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso +antix 22 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso +antix 21 net-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso +antix 21 core-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso +antix 21 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 21 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 21 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso +antix 21 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso/runit-bullseye/-runit_x64-core.iso +antix 21 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso/runit-bullseye/-runit_x64-core.iso/runit-bullseye/-runit_x64-base.iso +antix 21 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso/runit-bullseye/-runit_x64-core.iso/runit-bullseye/-runit_x64-base.iso/runit-bullseye/-runit_x64-full.iso +kdeneon user: https://files.kde.org/neon/images/user/current/neon-user-20250202-0745.iso +kdeneon testing: https://files.kde.org/neon/images/testing/current/neon-testing-20250128-0430.iso +kdeneon unstable: https://files.kde.org/neon/images/unstable/current/neon-unstable-20250202-1147.iso +kdeneon developer: https://files.kde.org/neon/images/developer/current/neon-unstable-developer-20250203-0038.iso +parrotsec 6.3 home: https://download.parrot.sh/parrot/iso/6.3/Parrot-home-6.3_amd64.iso +parrotsec 6.3 htb: https://download.parrot.sh/parrot/iso/6.3/Parrot-htb-6.3_amd64.iso +parrotsec 6.3 security: https://download.parrot.sh/parrot/iso/6.3/Parrot-security-6.3_amd64.iso +parrotsec 6.2 home: https://download.parrot.sh/parrot/iso/6.2/Parrot-home-6.2_amd64.iso +parrotsec 6.2 htb: https://download.parrot.sh/parrot/iso/6.2/Parrot-htb-6.2_amd64.iso +parrotsec 6.2 security: https://download.parrot.sh/parrot/iso/6.2/Parrot-security-6.2_amd64.iso +parrotsec 6.1 home: https://download.parrot.sh/parrot/iso/6.1/Parrot-home-6.1_amd64.iso +parrotsec 6.1 htb: https://download.parrot.sh/parrot/iso/6.1/Parrot-htb-6.1_amd64.iso +parrotsec 6.1 security: https://download.parrot.sh/parrot/iso/6.1/Parrot-security-6.1_amd64.iso +parrotsec 6.3.2 home: https://download.parrot.sh/parrot/iso/6.3.2/Parrot-home-6.3.2_amd64.iso +parrotsec 6.3.2 htb: https://download.parrot.sh/parrot/iso/6.3.2/Parrot-htb-6.3.2_amd64.iso +parrotsec 6.3.2 security: https://download.parrot.sh/parrot/iso/6.3.2/Parrot-security-6.3.2_amd64.iso +parrotsec 6.2 home: https://download.parrot.sh/parrot/iso/6.2/Parrot-home-6.2_amd64.iso +parrotsec 6.2 htb: https://download.parrot.sh/parrot/iso/6.2/Parrot-htb-6.2_amd64.iso +parrotsec 6.2 security: https://download.parrot.sh/parrot/iso/6.2/Parrot-security-6.2_amd64.iso +parrotsec 6.1 home: https://download.parrot.sh/parrot/iso/6.1/Parrot-home-6.1_amd64.iso +parrotsec 6.1 htb: https://download.parrot.sh/parrot/iso/6.1/Parrot-htb-6.1_amd64.iso +parrotsec 6.1 security: https://download.parrot.sh/parrot/iso/6.1/Parrot-security-6.1_amd64.iso +tinycore 15 Core: http://www.tinycorelinux.net/15.x/x86/release/Core-15.0.iso +tinycore 15 TinyCore: http://www.tinycorelinux.net/15.x/x86/release/TinyCore-15.0.iso +tinycore 15 CorePlus: http://www.tinycorelinux.net/15.x/x86/release/CorePlus-15.0.iso +tinycore 15 CorePure64: http://www.tinycorelinux.net/15.x/x86_64/release/CorePure64-15.0.iso +tinycore 15 TinyCorePure64: http://www.tinycorelinux.net/15.x/x86_64/release/TinyCorePure64-15.0.iso +tinycore 14 Core: http://www.tinycorelinux.net/14.x/x86/release/Core-14.0.iso +tinycore 14 TinyCore: http://www.tinycorelinux.net/14.x/x86/release/TinyCore-14.0.iso +tinycore 14 CorePlus: http://www.tinycorelinux.net/14.x/x86/release/CorePlus-14.0.iso +tinycore 14 CorePure64: http://www.tinycorelinux.net/14.x/x86_64/release/CorePure64-14.0.iso +tinycore 14 TinyCorePure64: http://www.tinycorelinux.net/14.x/x86_64/release/TinyCorePure64-14.0.iso +antix 23.2 net-sysv: /-net_x64-net.iso +antix 23.2 core-sysv: /-net_x64-net.iso/_x64-core.iso +antix 23.2 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 23.2 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 23.2 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso +antix 23.2 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso +antix 23.2 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso +antix 23.2 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso +antix 23.1 net-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso +antix 23.1 core-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso +antix 23.1 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 23.1 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 23.1 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso +antix 23.1 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso +antix 23.1 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso +antix 23.1 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso +antix 23 net-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso +antix 23 core-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso +antix 23 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 23 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 23 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso +antix 23 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso +antix 23 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso +antix 23 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso +antix 22 net-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso +antix 22 core-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso +antix 22 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 22 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 22 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso +antix 22 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso +antix 22 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso +antix 22 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso +antix 21 net-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso +antix 21 core-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso +antix 21 base-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso +antix 21 full-sysv: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso +antix 21 net-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso +antix 21 core-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso/runit-bullseye/-runit_x64-core.iso +antix 21 base-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso/runit-bullseye/-runit_x64-core.iso/runit-bullseye/-runit_x64-base.iso +antix 21 full-runit: /-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.2/-runit-net_x64-net.iso/runit-antiX-23.2/-runit_x64-core.iso/runit-antiX-23.2/-runit_x64-base.iso/runit-antiX-23.2/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23.1/-runit-net_x64-net.iso/runit-antiX-23.1/-runit_x64-core.iso/runit-antiX-23.1/-runit_x64-base.iso/runit-antiX-23.1/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-23/-runit-net_x64-net.iso/runit-antiX-23/-runit_x64-core.iso/runit-antiX-23/-runit_x64-base.iso/runit-antiX-23/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-antiX-22/-runit-net_x64-net.iso/runit-antiX-22/-runit_x64-core.iso/runit-antiX-22/-runit_x64-base.iso/runit-antiX-22/-runit_x64-full.iso/-net_x64-net.iso/_x64-core.iso/_x64-base.iso/_x64-full.iso/runit-bullseye/-runit-net_x64-net.iso/runit-bullseye/-runit_x64-core.iso/runit-bullseye/-runit_x64-base.iso/runit-bullseye/-runit_x64-full.iso +antix 23.2 net-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/antiX-23.2-net_x64-net.iso +antix 23.2 core-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/antiX-23.2_x64-core.iso +antix 23.2 base-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/antiX-23.2_x64-base.iso +antix 23.2 full-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/antiX-23.2_x64-full.iso +antix 23.2 net-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/runit-antiX-23.2/antiX-23.2-runit-net_x64-net.iso +antix 23.2 core-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/runit-antiX-23.2/antiX-23.2-runit_x64-core.iso +antix 23.2 base-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/runit-antiX-23.2/antiX-23.2-runit_x64-base.iso +antix 23.2 full-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.2/runit-antiX-23.2/antiX-23.2-runit_x64-full.iso +antix 23.1 net-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/antiX-23.1-net_x64-net.iso +antix 23.1 core-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/antiX-23.1_x64-core.iso +antix 23.1 base-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/antiX-23.1_x64-base.iso +antix 23.1 full-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/antiX-23.1_x64-full.iso +antix 23.1 net-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/runit-antiX-23.1/antiX-23.1-runit-net_x64-net.iso +antix 23.1 core-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/runit-antiX-23.1/antiX-23.1-runit_x64-core.iso +antix 23.1 base-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/runit-antiX-23.1/antiX-23.1-runit_x64-base.iso +antix 23.1 full-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23.1/runit-antiX-23.1/antiX-23.1-runit_x64-full.iso +antix 23 net-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/antiX-23-net_x64-net.iso +antix 23 core-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/antiX-23_x64-core.iso +antix 23 base-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/antiX-23_x64-base.iso +antix 23 full-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/antiX-23_x64-full.iso +antix 23 net-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/runit-antiX-23/antiX-23-runit-net_x64-net.iso +antix 23 core-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/runit-antiX-23/antiX-23-runit_x64-core.iso +antix 23 base-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/runit-antiX-23/antiX-23-runit_x64-base.iso +antix 23 full-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-23/runit-antiX-23/antiX-23-runit_x64-full.iso +antix 22 net-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/antiX-22-net_x64-net.iso +antix 22 core-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/antiX-22_x64-core.iso +antix 22 base-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/antiX-22_x64-base.iso +antix 22 full-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/antiX-22_x64-full.iso +antix 22 net-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/runit-antiX-22/antiX-22-runit-net_x64-net.iso +antix 22 core-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/runit-antiX-22/antiX-22-runit_x64-core.iso +antix 22 base-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/runit-antiX-22/antiX-22-runit_x64-base.iso +antix 22 full-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-22/runit-antiX-22/antiX-22-runit_x64-full.iso +antix 21 net-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/antiX-21-net_x64-net.iso +antix 21 core-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/antiX-21_x64-core.iso +antix 21 base-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/antiX-21_x64-base.iso +antix 21 full-sysv: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/antiX-21_x64-full.iso +antix 21 net-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/runit-bullseye/antiX-21-runit-net_x64-net.iso +antix 21 core-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/runit-bullseye/antiX-21-runit_x64-core.iso +antix 21 base-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/runit-bullseye/antiX-21-runit_x64-base.iso +antix 21 full-runit: https://sourceforge.net/projects/antix-linux/files/Final/antiX-21/runit-bullseye/antiX-21-runit_x64-full.iso +vanillaos 22.10-r8: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r8/VanillaOS-22.10-all.20230226.iso +vanillaos 22.10-r7.5: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r7.5/VanillaOS-22.10-all.20230214.iso +vanillaos 22.10-r7: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r7.5/VanillaOS-22.10-all.20230214.iso +vanillaos 22.10-r6: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r6/VanillaOS-22.10-all.20230123.iso +vanillaos 22.10-r5: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r5/VanillaOS-22.10-all.20230116.iso +vanillaos 22.10-r4: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r4/VanillaOS-22.10-all.20230115.iso +vanillaos 22.10-r3: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r3/VanillaOS-22.10-all.20230105.iso +vanillaos 22.10-r2: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r2/VanillaOS-22.10-all.20221231.iso +vanillaos 22.10-r1: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r1/VanillaOS-22.10-all.20221230.iso +vanillaos 22.10: https://github.com/Vanilla-OS/live-iso/releases/download/22.10-r8/VanillaOS-22.10-all.20230226.iso +vanillaos 2.0: https://github.com/Vanilla-OS/live-iso/releases/download/2.0/VanillaOS-2-stable.20250209.iso +bazzite latest gnome: https://download.bazzite.gg/bazzite-gnome-stable-amd64.iso +bazzite latest kde: https://download.bazzite.gg/bazzite-stable-amd64.iso +tinycore 15 Core: https://distro.ibiblio.org/tinycorelinux/15.x/x86/release/Core-15.0.iso +tinycore 15 TinyCore: https://distro.ibiblio.org/tinycorelinux/15.x/x86/release/TinyCore-15.0.iso +tinycore 15 CorePlus: https://distro.ibiblio.org/tinycorelinux/15.x/x86/release/CorePlus-15.0.iso +tinycore 15 CorePure64: https://distro.ibiblio.org/tinycorelinux/15.x/x86_64/release/CorePure64-15.0.iso +tinycore 15 TinyCorePure64: https://distro.ibiblio.org/tinycorelinux/15.x/x86_64/release/TinyCorePure64-15.0.iso +tinycore 14 Core: https://distro.ibiblio.org/tinycorelinux/14.x/x86/release/Core-14.0.iso +tinycore 14 TinyCore: https://distro.ibiblio.org/tinycorelinux/14.x/x86/release/TinyCore-14.0.iso +tinycore 14 CorePlus: https://distro.ibiblio.org/tinycorelinux/14.x/x86/release/CorePlus-14.0.iso +tinycore 14 CorePure64: https://distro.ibiblio.org/tinycorelinux/14.x/x86_64/release/CorePure64-14.0.iso +tinycore 14 TinyCorePure64: https://distro.ibiblio.org/tinycorelinux/14.x/x86_64/release/TinyCorePure64-14.0.iso +gnomeos nightly: https://1270333429.rsc.cdn77.org/nightly/790243/gnome_os_installer_790243.iso +gnomeos 48.alpha: https://download.gnome.org/gnomeos/48.alpha/gnome_os_installer_48.alpha.iso +gnomeos 47.rc: https://download.gnome.org/gnomeos/47.rc/gnome_os_installer_47.rc.iso +gnomeos 47.beta: https://download.gnome.org/gnomeos/47.beta/gnome_os_installer_47.beta.iso +gnomeos 47.alpha: https://download.gnome.org/gnomeos/47.alpha/gnome_os_installer_47.alpha.iso +gnomeos 47.0: https://download.gnome.org/gnomeos/47.0/gnome_os_installer_47.0.iso +gnomeos 46.rc: https://download.gnome.org/gnomeos/46.rc/gnome_os_installer_46.rc.iso +gnomeos 46.beta: https://download.gnome.org/gnomeos/46.beta/gnome_os_installer_46.beta.iso +gnomeos 46.alpha: https://download.gnome.org/gnomeos/46.alpha/gnome_os_installer_46.alpha.iso +gnomeos 46.0: https://download.gnome.org/gnomeos/46.0/gnome_os_installer_46.iso +gnomeos 45.rc: https://download.gnome.org/gnomeos/45.rc/gnome_os_installer_45.rc.iso +gnomeos 45.beta: https://download.gnome.org/gnomeos/45.beta/gnome_os_installer_45.beta.iso +gnomeos 44.rc: https://download.gnome.org/gnomeos/44.rc/gnome_os_installer_44.rc.iso +gnomeos 44.beta: https://download.gnome.org/gnomeos/44.beta/gnome_os_installer_44.beta.iso +gnomeos 44.0: https://download.gnome.org/gnomeos/44.0/gnome_os_installer_44.0.iso +gnomeos 43.beta: https://download.gnome.org/gnomeos/43.beta/gnome_os_installer_43.beta.iso +gnomeos 43.alpha: https://download.gnome.org/gnomeos/43.alpha/gnome_os_installer_43.alpha.iso +gnomeos 43.0: https://download.gnome.org/gnomeos/43.0/gnome_os_installer_43.0.iso +gnomeos 42.rc: https://download.gnome.org/gnomeos/42.rc/gnome_os_installer_42.rc.iso +gnomeos 42.beta: https://download.gnome.org/gnomeos/42.beta/gnome_os_installer_42.beta.iso +gnomeos 42.0: https://download.gnome.org/gnomeos/42.0/gnome_os_installer_42.0.iso +gnomeos 41.rc: https://download.gnome.org/gnomeos/41.rc/gnome_os_installer_41.rc.iso +gnomeos 41.beta: https://download.gnome.org/gnomeos/41.beta/gnome_os_installer_41.beta.iso +gnomeos 41.0: https://download.gnome.org/gnomeos/41.0/gnome_os_installer_41.0.iso +gnomeos 40.rc: https://download.gnome.org/gnomeos/40.rc/gnome_os_installer_40.rc.iso +gnomeos 40.beta: https://download.gnome.org/gnomeos/40.beta/gnome_os_installer_40.beta.iso +gnomeos 40.0: https://download.gnome.org/gnomeos/40.0/gnome_os_installer_40.0.iso +gnomeos 3.38.1: https://download.gnome.org/gnomeos/3.38.1/gnome_os_installer.iso +gnomeos 3.38.0: https://download.gnome.org/gnomeos/3.38.0/gnome_os_installer.iso +gnomeos nightly: https://1270333429.rsc.cdn77.org/nightly/790243/gnome_os_installer_790243.iso +gnomeos 48.alpha: https://download.gnome.org/gnomeos/48.alpha/gnome_os_installer_48.alpha.8.iso +gnomeos 47.rc: https://download.gnome.org/gnomeos/47.rc/gnome_os_installer_47.rc.iso +gnomeos 47.beta: https://download.gnome.org/gnomeos/47.beta/gnome_os_installer_47.beta.iso +gnomeos 47.alpha: https://download.gnome.org/gnomeos/47.alpha/gnome_os_installer_47.alpha.iso +gnomeos 47.0: https://download.gnome.org/gnomeos/47.0/gnome_os_installer_47.0.iso +gnomeos 46.rc: https://download.gnome.org/gnomeos/46.rc/gnome_os_installer_46.rc.iso +gnomeos 46.beta: https://download.gnome.org/gnomeos/46.beta/gnome_os_installer_46.beta.iso +gnomeos 46.alpha: https://download.gnome.org/gnomeos/46.alpha/gnome_os_installer_46.alpha.iso +gnomeos 46.0: https://download.gnome.org/gnomeos/46.0/gnome_os_installer_46.iso +gnomeos 45.rc: https://download.gnome.org/gnomeos/45.rc/gnome_os_installer_45.rc.iso +gnomeos 45.beta: https://download.gnome.org/gnomeos/45.beta/gnome_os_installer_45.beta.iso +gnomeos 44.rc: https://download.gnome.org/gnomeos/44.rc/gnome_os_installer_44.rc.iso +gnomeos 44.beta: https://download.gnome.org/gnomeos/44.beta/gnome_os_installer_44.beta.iso +gnomeos 44.0: https://download.gnome.org/gnomeos/44.0/gnome_os_installer_44.0.iso +gnomeos 43.beta: https://download.gnome.org/gnomeos/43.beta/gnome_os_installer_43.beta.iso +gnomeos 43.alpha: https://download.gnome.org/gnomeos/43.alpha/gnome_os_installer_43.alpha.iso +gnomeos 43.0: https://download.gnome.org/gnomeos/43.0/gnome_os_installer_43.0.iso +gnomeos 42.rc: https://download.gnome.org/gnomeos/42.rc/gnome_os_installer_42.rc.iso +gnomeos 42.beta: https://download.gnome.org/gnomeos/42.beta/gnome_os_installer_42.beta.iso +gnomeos 42.0: https://download.gnome.org/gnomeos/42.0/gnome_os_installer_42.0.iso +gnomeos 41.rc: https://download.gnome.org/gnomeos/41.rc/gnome_os_installer_41.rc.iso +gnomeos 41.beta: https://download.gnome.org/gnomeos/41.beta/gnome_os_installer_41.beta.iso +gnomeos 41.0: https://download.gnome.org/gnomeos/41.0/gnome_os_installer_41.0.iso +gnomeos 40.rc: https://download.gnome.org/gnomeos/40.rc/gnome_os_installer_40.rc.iso +gnomeos 40.beta: https://download.gnome.org/gnomeos/40.beta/gnome_os_installer_40.beta.iso +gnomeos 40.0: https://download.gnome.org/gnomeos/40.0/gnome_os_installer_40.0.iso +gnomeos 3.38.1: https://download.gnome.org/gnomeos/3.38.1/gnome_os_installer.iso +gnomeos 3.38.0: https://download.gnome.org/gnomeos/3.38.0/gnome_os_installer.iso +gnomeos nightly: https://1270333429.rsc.cdn77.org/nightly/790243/gnome_os_installer_790243.iso +gnomeos 48.alpha: https://download.gnome.org/gnomeos/48.alpha/gnome_os_installer_48.alpha.8.iso +gnomeos 47.rc: https://download.gnome.org/gnomeos/47.rc/gnome_os_installer_47.rc.iso +gnomeos 47.beta: https://download.gnome.org/gnomeos/47.beta/gnome_os_installer_47.beta.iso +gnomeos 47.alpha: https://download.gnome.org/gnomeos/47.alpha/gnome_os_installer_47.alpha.iso +gnomeos 47.0: https://download.gnome.org/gnomeos/47.0/gnome_os_installer_47.0.iso +gnomeos 46.rc: https://download.gnome.org/gnomeos/46.rc/gnome_os_installer_46.rc.iso +gnomeos 46.beta: https://download.gnome.org/gnomeos/46.beta/gnome_os_installer_46.beta.iso +gnomeos 46.alpha: https://download.gnome.org/gnomeos/46.alpha/gnome_os_installer_46.alpha.iso +gnomeos 46.0: https://download.gnome.org/gnomeos/46.0/gnome_os_installer_46.iso +gnomeos 45.rc: https://download.gnome.org/gnomeos/45.rc/gnome_os_installer_45.rc.iso +gnomeos 45.beta: https://download.gnome.org/gnomeos/45.beta/gnome_os_installer_45.beta.iso +gnomeos 44.rc: https://download.gnome.org/gnomeos/44.rc/gnome_os_installer_44.rc.iso +gnomeos 44.beta: https://download.gnome.org/gnomeos/44.beta/gnome_os_installer_44.beta.iso +gnomeos 44.0: https://download.gnome.org/gnomeos/44.0/gnome_os_installer_44.0.iso +gnomeos 43.beta: https://download.gnome.org/gnomeos/43.beta/gnome_os_installer_43.beta.iso +gnomeos 43.alpha: https://download.gnome.org/gnomeos/43.alpha/gnome_os_installer_43.alpha.iso +gnomeos 43.0: https://download.gnome.org/gnomeos/43.0/gnome_os_installer_43.0.iso +gnomeos 42.rc: https://download.gnome.org/gnomeos/42.rc/gnome_os_installer_42.rc.iso +gnomeos 42.beta: https://download.gnome.org/gnomeos/42.beta/gnome_os_installer_42.beta.iso +gnomeos 42.0: https://download.gnome.org/gnomeos/42.0/gnome_os_installer_42.0.iso +gnomeos 41.rc: https://download.gnome.org/gnomeos/41.rc/gnome_os_installer_41.rc.iso +gnomeos 41.beta: https://download.gnome.org/gnomeos/41.beta/gnome_os_installer_41.beta.iso +gnomeos 41.0: https://download.gnome.org/gnomeos/41.0/gnome_os_installer_41.0.iso +gnomeos 40.rc: https://download.gnome.org/gnomeos/40.rc/gnome_os_installer_40.rc.iso +gnomeos 40.beta: https://download.gnome.org/gnomeos/40.beta/gnome_os_installer_40.beta.iso +gnomeos 40.0: https://download.gnome.org/gnomeos/40.0/gnome_os_installer_40.0.iso +gnomeos 3.38.1: https://download.gnome.org/gnomeos/3.38.1/gnome_os_installer.iso +gnomeos 3.38.0: https://download.gnome.org/gnomeos/3.38.0/gnome_os_installer.iso diff --git a/TODO/pantherx b/TODO/pantherx new file mode 100644 index 0000000000..b2baf2c435 --- /dev/null +++ b/TODO/pantherx @@ -0,0 +1,23 @@ +# Template file for 'pantherx' +OSNAME="pantherx" +PRETTY="PantherX" +BASEDOF="guix" +HOMEPAGE="https://www.pantherx.org" +DESCRIPTION="PantherX is designed to enable everyone without a PHD in computer science to enjoy a fast, flexible and private work & entertainment platform that runs for years, with little intervention" +CREDENTIALS="-" + +function releases_() { + latest +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + local TEMP="" + URL="https://temp.pantherx.org" + TEMP="$(web_pipe "https://wiki.pantherx.org/" | grep --after-context 1 'iso')" + ISO="$(basename $(echo ${TEMP} | cut -d'"' -f2))" + HASH="$(echo "${TEMP}" | tail -1 | cut -d'>' -f3 | cut -d'<' -f1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/TODO/pclinuxos b/TODO/pclinuxos new file mode 100644 index 0000000000..4d1b924886 --- /dev/null +++ b/TODO/pclinuxos @@ -0,0 +1,18 @@ +# Template file for 'pclinuxos' +OSNAME="pclinuxos" +PRETTY="PCLinuxOS" +ORIGIN="Independent" +HOMEPAGE="https://www.pclinuxos.com" +DESCRIPTION="Free easy to use Linux-based Operating System for x86_64 desktops or laptops" +CREDENTIALS="-" + +function releases_() { + echo kde-minimal kde mate xfce +} + +function get_() { + ISO="pclinuxos64-kde-2024.10.iso" + URL="https://ftp.nluug.nl/os/Linux/distr/pclinuxos/pclinuxos/iso" + HASH="" + +} diff --git a/TODO/redox-os b/TODO/redox-os new file mode 100644 index 0000000000..050c1141e9 --- /dev/null +++ b/TODO/redox-os @@ -0,0 +1,26 @@ +# Template file for 'redox-os' +OSNAME="redox-os" +PRETTY="Redox OS" +BASEDOF="-" +HOMEPAGE="https://www.redox-os.org" +DESCRIPTION="Microkernel-based operating system, with a large number of supported programs and components, to create a full-featured user and application environment" +CREDENTIALS="-" + +function releases_() { + echo livedisk harddrive +} + +function editions_() { + echo demo desktop server +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://static.redox-os.org/img/x86_64" + local DATA + DATA="$(curl -s "${URL}/SHA256SUM" | grep ".iso" | grep "${EDITION}" | grep "${RELEASE}")" + ISO="$(echo "${DATA}" | cut -d '*' -f2)" + HASH="$(echo "${DATA}" | cut_1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/TODO/whonix b/TODO/whonix new file mode 100644 index 0000000000..a4c6dfa11f --- /dev/null +++ b/TODO/whonix @@ -0,0 +1,19 @@ +# Template file for 'whonix' +OSNAME="whonix" +PRETTY="Whonix" +ORIGIN="Debian" +HOMEPAGE="https://www.whonix.org" +DESCRIPTION="Superior Internet Privacy with Whonix™ As handy as an app - delivering maximum anonymity and security" +CREDENTIALS="-" + +function releases_() { + +} + +function editions_() { + +} + +function get_() { + +} diff --git a/action b/action new file mode 100755 index 0000000000..313cb58822 --- /dev/null +++ b/action @@ -0,0 +1,531 @@ +#!/usr/bin/env bash +#shellcheck disable=SC1090 +# +function write_output() { + . "actions/${OS}" + RELEASES=$(cut -d: -f1 < "public/tmp_${OS}" | cut -d' ' -f2 | sort -ur | paste -sd ' ') + if grep -q 'function edition' "actions/${OS}"; then + . "actions/${OS}" + EDITIONS=$(printf 'EDITIONS="%s"\n' "$(cut -d: -f1 < "public/tmp_${OS}" | cut -d' ' -f3 | sort -ur | paste -sd ' ')") + else + EDITIONS=$(echo -e "\n") + fi + echo + printf '# Template file for '\''%s'\'' +OSNAME="%s" +PRETTY="%s" +BASEDOF="%s" +DESCRIPTION="%s" +HOMEPAGE="%s" +CREDENTIALS="%s" +RELEASES="%s" +%s +' "$OS" "$OSNAME" "$PRETTY" "$BASEDOF" "$DESCRIPTION" "$HOMEPAGE" "$CREDENTIALS" "$RELEASES" "$EDITIONS" | tee -a "public/${OS}" + cat "public/tmp_${OS}" >> TODO/all + rm "public/tmp_${OS}" + echo +} + +function test_result() { + local OS="${1}" + local RELEASE="${2}" + local EDITION="${3:-}" + local URL="${4:-}" + local RESULT="${5:-}" + + if [ -n "${EDITION}" ]; then + OS="${OS} ${RELEASE} ${EDITION}" + else + OS="${OS} ${RELEASE}" + fi + + if [ -n "${RESULT}" ]; then + # Pad the OS string for consistent output + OS=$(printf "%-35s" "${OS}") + echo -e "${OS} ${URL}" + else + OS=$(printf "%-36s" "${OS}:") + echo -e "${OS} ${URL}" + fi +} + +function test_all() { + OS="${1}" + mkdir -p public + rm -f "public/${OS}" + touch "public/${OS}" + rm -f "public/tmp_${OS}" + touch "public/tmp_${OS}" + . "actions/${OS}" + if [[ "${OS}" == *ubuntu* && "${OS}" != "ubuntu-server" ]]; then + FUNC="ubuntu" + fi + echo "${OS} +" + for RELEASE in $("releases_"); do + . "actions/${OS}" + if [[ $(type -t "editions_") == function ]]; then + for EDITION in $(editions_""); do + . "actions/${OS}" + URL=$(get_ | cut -d' ' -f1 | head -n 1) + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" | tee -a "public/tmp_${OS}" + elif [ "${OPERATION}" == "test" ]; then + CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" | tee -a "public/tmp_${OS}" + fi + done + elif [[ "${OS}" == "windows"* ]]; then + languages_ + for I18N in "${I18N[@]}"; do + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${I18N}" "" | tee -a "public/tmp_${OS}" + elif [ "${OPERATION}" == "test" ]; then + test_result "${OS}" "${RELEASE}" "${I18N}" "${URL}" "SKIP" | tee -a "public/tmp_${OS}" + fi + done + elif [[ "${OS}" == "macos" ]]; then + (get_) + elif [ "${OS}" == "ubuntu-server" ]; then + (get_) + elif [[ "${OS}" == *ubuntu* ]]; then + (get_) + else + URL=$(get_ | cut -d' ' -f1 | head -n 1) + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" | tee -a "public/tmp_${OS}" + elif [ "${OPERATION}" == "test" ]; then + CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" | tee -a "public/tmp_${OS}" + fi + fi + done +} + +function get_releases() { + OS="${1}" + mkdir -p public + rm -f "public/${OS}" + #touch "public/${OS}" + rm -f "public/tmp_${OS}" + #touch "public/tmp_${OS}" + . "actions/${OS}" + if [[ "${OS}" == *ubuntu* && "${OS}" != "ubuntu-server" ]]; then + FUNC="ubuntu" + fi + echo "${OS} +" + for RELEASE in $("releases_"); do + . "actions/${OS}" + if [[ $(type -t "editions_") == function ]]; then + for EDITION in $(editions_""); do + . "actions/${OS}" + URL=$(get_ | cut -d' ' -f1 | head -n 1) + echo "${OS} ${RELEASE} ${EDITION}" >> "public/tmp_${OS}" + done + elif [[ "${OS}" == "windows"* ]]; then + languages_ + for I18N in "${I18N[@]}"; do + echo "${OS} ${RELEASE} ${I18N}" >> "public/tmp_${OS}" + done + elif [[ "${OS}" == "macos" ]]; then + (get_) + elif [ "${OS}" == "ubuntu-server" ]; then + (get_) + elif [[ "${OS}" == *ubuntu* ]]; then + (get_ubuntu) + else + #validate_release releases_"${OS}" + URL=$(get_"${OS}" | cut -d' ' -f1 | head -n 1) + echo "${OS} ${RELEASE} ${EDITION}" >> "public/tmp_${OS}" + fi + done +} + +function check_hash() { + local iso="" + local hash="" + local hash_algo="" + if [ "${OPERATION}" == "download" ]; then + iso="${1}" + else + iso="${VM_PATH}/${1}" + fi + hash="${2}" + # Guess the hash algorithm by the hash length + case ${#hash} in + 32) hash_algo=md5sum;; + 40) hash_algo=sha1sum;; + 64) hash_algo=sha256sum;; + 128) hash_algo=sha512sum;; + *) echo "WARNING! Can't guess hash algorithm, not checking ${iso} hash." + return;; + esac + echo -n "Checking ${iso} with ${hash_algo}... " + if ! echo "${hash} ${iso}" | ${hash_algo} --check --status; then + echo "ERROR!" + echo "${iso} doesn't match ${hash}. Try running 'quickget' again." + exit 1 + else + echo "Good!" + fi +} + +# Download a file from the web and pipe it to stdout +function web_pipe() { + curl --disable --silent --location "${1}" +} + +# Download a JSON file from the web and pipe it to stdout +function web_pipe_json() { + curl --disable --silent --location --header "Accept: application/json" "${1}" +} + +# checks if a URL is reachable +function web_check() { + local HEADERS=() + local URL="${1}" + # Process any headers + while (( "$#" )); do + if [ "${1}" == "--header" ]; then + HEADERS+=("${1}" "${2}") + shift 2 + else + shift + fi + done + curl --silent --location --head --output /dev/null --fail --connect-timeout 30 --max-time 30 --retry 3 "${HEADERS[@]}" "${URL}" +} + +# checks if a URL needs to be redirected and returns the final URL +function web_redirect() { + local REDIRECT_URL="" + local URL="${1}" + # Check for URL redirections + # Output to nonexistent directory so the download fails fast + REDIRECT_URL=$(curl --silent --location --fail --write-out '%{url_effective}' --output /var/cache/${RANDOM}/${RANDOM} "${URL}" ) + if [ "${REDIRECT_URL}" != "${URL}" ]; then + echo "${REDIRECT_URL}" + else + echo "${URL}" + fi +} + +# Download a file from the web +function web_get() { + local CHECK="" + local HEADERS=() + local URL="${1}" + local DIR="${2}" + local FILE="" + local USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" + + if [ -n "${3}" ]; then + FILE="${3}" + else + FILE="${URL##*/}" + fi + + # Process any URL redirections after the file name has been extracted + URL=$(web_redirect "${URL}") + + # Process any headers + while (( "$#" )); do + if [ "${1}" == "--header" ]; then + HEADERS+=("${1}" "${2}") + shift 2 + else + shift + fi + done + + # Test mode for ISO + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" + exit 0 + elif [ "${OPERATION}" == "test" ]; then + CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" + exit 0 + elif [ "${OPERATION}" == "download" ]; then + DIR="$(pwd)" + fi + + if [ "${DIR}" != "$(pwd)" ] && ! mkdir -p "${DIR}" 2>/dev/null; then + echo "ERROR! Unable to create directory ${DIR}" + exit 1 + fi + + if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then + echo "Downloading ${PRETTY} ${RELEASE} ${EDITION}" + echo "- URL: ${URL}" + fi + + if ! curl --progress-bar --location --output "${DIR}/${FILE}" --continue-at - --user-agent "${USER_AGENT}" "${HEADERS[@]}" -- "${URL}"; then + echo "ERROR! Failed to download ${URL} with curl." + rm -f "${DIR}/${FILE}" + fi +} + +function zsync_get() { + local CHECK="" + local DIR="${2}" + local FILE="${1##*/}" + local OUT="" + local URL="${1}" + # Test mode for ISO + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" + exit 0 + elif [ "${OPERATION}" == "test" ]; then + CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" + exit 0 + elif command -v zsync &>/dev/null; then + if [ -n "${3}" ]; then + OUT="${3}" + else + OUT="${FILE}" + fi + + if ! mkdir -p "${DIR}" 2>/dev/null; then + echo "ERROR! Unable to create directory ${DIR}" + exit 1 + fi + echo "Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" + # Only force http for zsync - not earlier because we might fall through here + if ! zsync "${URL/https/http}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then + echo "ERROR! Failed to download ${URL/https/http}.zsync" + exit 1 + fi + + if [ -e "${DIR}/${OUT}.zs-old" ]; then + rm "${DIR}/${OUT}.zs-old" + fi + else + echo "INFO: zsync not found, falling back to curl" + if [ -n "${3}" ]; then + web_get "${1}" "${2}" "${3}" + else + web_get "${1}" "${2}" + fi + fi +} + +function make_vm_config() { + local CONF_FILE="" + local IMAGE_FILE="" + local ISO_FILE="" + local IMAGE_TYPE="" + local GUEST="" + if [ "${OPERATION}" == "download" ]; then + exit 0 + fi + IMAGE_FILE="${1}" + ISO_FILE="${2}" + case "${OS}" in + batocera) + GUEST="batocera" + IMAGE_TYPE="img";; + custom) + GUEST="${CUSTOM_OS}" + IMAGE_TYPE="${CUSTOM_IMAGE_TYPE}";; + dragonflybsd) + GUEST="dragonflybsd" + IMAGE_TYPE="iso";; + easyos) + GUEST="linux" + IMAGE_TYPE="img";; + freebsd|ghostbsd) + GUEST="freebsd" + IMAGE_TYPE="iso";; + haiku) + GUEST="haiku" + IMAGE_TYPE="iso";; + freedos) + GUEST="freedos" + IMAGE_TYPE="iso";; + kolibrios) + GUEST="kolibrios" + IMAGE_TYPE="iso";; + macos) + GUEST="macos" + IMAGE_TYPE="img";; + netbsd) + GUEST="netbsd" + IMAGE_TYPE="iso";; + openbsd) + GUEST="openbsd" + IMAGE_TYPE="iso";; + openindiana) + GUEST="solaris" + IMAGE_TYPE="iso";; + reactos) + GUEST="reactos" + IMAGE_TYPE="iso";; + truenas*) + GUEST="truenas" + IMAGE_TYPE="iso";; + ubuntu*) + GUEST="linux" + IMAGE_TYPE="iso" + # If there is a point in the release, check if it is less than 16.04 + if [[ "${RELEASE}" != *"daily"* ]]; then + if [ "${RELEASE//./}" -lt 1604 ]; then + GUEST="linux_old" + fi + fi + ;; + windows) + GUEST="windows" + IMAGE_TYPE="iso";; + windows-server) + GUEST="windows-server" + IMAGE_TYPE="iso";; + *) + GUEST="linux" + IMAGE_TYPE="iso";; + esac + + CONF_FILE="${VM_PATH}.conf" + + if [ ! -e "${CONF_FILE}" ]; then + echo "Making ${CONF_FILE}" + cat << EOF > "${CONF_FILE}" +#!${QUICKEMU} --vm +guest_os="${GUEST}" +disk_img="${VM_PATH}/disk.qcow2" +${IMAGE_TYPE}="${VM_PATH}/${IMAGE_FILE}" +EOF + echo " - Setting ${CONF_FILE} executable" + chmod u+x "${CONF_FILE}" + if [ -n "${ISO_FILE}" ]; then + echo "fixed_iso=\"${VM_PATH}/${ISO_FILE}\"" >> "${CONF_FILE}" + fi + + # OS specific tweaks + case ${OS} in + alma|athenaos|centos-stream|endless|garuda|gentoo|kali|nixos|oraclelinux|popos|rockylinux) + echo "disk_size=\"32G\"" >> "${CONF_FILE}";; + openindiana) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"32G\"" >> "${CONF_FILE}";; + batocera) + echo "disk_size=\"8G\"" >> "${CONF_FILE}";; + bazzite) + echo "disk_size=\"64G\"" >> "${CONF_FILE}";; + dragonflybsd|haiku|openbsd|netbsd|slackware|slax|tails|tinycore) + echo "boot=\"legacy\"" >> "${CONF_FILE}";; + deepin) + echo "disk_size=\"64G\"" >> "${CONF_FILE}" + echo "ram=\"4G\"" >> "${CONF_FILE}" + ;; + freedos) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"4G\"" >> "${CONF_FILE}" + echo "ram=\"256M\"" >> "${CONF_FILE}" + ;; + kolibrios) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"2G\"" >> "${CONF_FILE}" + echo "ram=\"128M\"" >> "${CONF_FILE}" + ;; + slint) + echo "disk_size=\"50G\"" >> "${CONF_FILE}" + ;; + slitaz) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"4G\"" >> "${CONF_FILE}" + echo "ram=\"512M\"" >> "${CONF_FILE}" + ;; + truenas-scale|truenas-core) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + # the rest is non-functional + # echo "bootdrive_size=\"5G\"" >> "${CONF_FILE}" # boot drive + # echo "1stdrive_size=\"20G\"" >> "${CONF_FILE}" # for testing + # echo "2nddrive_size=\"20G\"" >> "${CONF_FILE}" # again, for testing + ;; + ubuntu-server) + # 22.04+ fails on LVM build if disk size is < 10G + # 22.04.1 fails on auto-install if TPM is disabled + echo "disk_size=\"10G\"" >> "${CONF_FILE}" + echo "ram=\"4G\"" >> "${CONF_FILE}" + if [[ "${RELEASE}" == *"22.04"* ]]; then + echo "tpm=\"on\"" >> "${CONF_FILE}" + fi + ;; + vanillaos) + ## Minimum is 50G for abroot, but a 64GB is allocated to give some headroom + echo "disk_size=\"64G\"" >> "${CONF_FILE}" + ;; + zorin) + case ${EDITION} in + education64|edulite64) echo "disk_size=\"32G\"" >> "${CONF_FILE}";; + esac;; + reactos) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"12G\"" >> "${CONF_FILE}" + echo "ram=\"2048M\"" >> "${CONF_FILE}" + ;; + macos) + echo "disk_size=\"128G\"" >> "${CONF_FILE}" + echo "macos_release=\"${RELEASE}\"" >> "${CONF_FILE}" + # https://github.com/quickemu-project/quickemu/issues/438 + if [ "${RELEASE}" == "monterey" ]; then + echo "cpu_cores=2" >> "${CONF_FILE}" + fi + ;; + proxmox-ve) + echo "disk_size=\"20G\"" >> "${CONF_FILE}" + echo "ram=\"4G\"" >> "${CONF_FILE}" + ;; + esac + + if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"* ]]; then + # Minimum to install lobster testing is 18GB but 32GB are allocated for headroom + echo "disk_size=\"32G\"" >> "${CONF_FILE}" + fi + + if [[ "${OS}" == "windows"* ]]; then + echo "disk_size=\"64G\"" >> "${CONF_FILE}" + fi + + # Enable TPM for Windows 11 and Windows Server 2022 + if [[ "${OS}" == "windows" && "${RELEASE}" == "11" || "${OS}" == "windows-server" && "${RELEASE}" == "2022" ]]; then + echo "tpm=\"on\"" >> "${CONF_FILE}" + echo "secureboot=\"off\"" >> "${CONF_FILE}" + fi + if [ "${OPERATION}" == ui ]; then + echo + gum confirm "Run new ${OS} VM?" && quickemu --vm "${CONF_FILE}" + fi + fi + echo -e "\nTo start your ${PRETTY} virtual machine run:" + if [ "${OS}" == "slint" ]; then + echo -e " quickemu --vm ${CONF_FILE}\nTo start Slint with braille support run:\n quickemu --vm --braille --display sdl ${CONF_FILE}" + else + echo " quickemu --vm ${CONF_FILE}" + fi + echo + exit 0 +} + +if [ "${1}" == -t ] || [ "${1}" == --test ]; then + OPERATION='test' + shift +else + OPERATION='show' +fi + +if [ -z "${1}" ]; then + rm TODO/all ; touch TODO/all + for file in actions/*; do + OS="${file##*/}" + get_releases "${OS}" + #test_all "${OS}" + write_output "${OS}" + done +elif [ -n "${1}" ]; then + test_all "${1}" + write_output "${1}" +fi diff --git a/actions/alma b/actions/alma new file mode 100644 index 0000000000..ff00b0329e --- /dev/null +++ b/actions/alma @@ -0,0 +1,23 @@ +# Template file for 'alma' +OSNAME=alma +PRETTY=AlmaLinux +BASEDOF="Fedora RedHat" +DESCRIPTION="Community distribution, focused on long-term stability, providing a robust production-grade platform. Binary compatible with RHEL®" +HOMEPAGE="https://almalinux.org/" +CREDENTIALS="-" + +function releases_() { + echo 9 8 +} + +function editions_() { + echo boot minimal dvd +} + +function get_() { + local HASH="" + local ISO="AlmaLinux-${RELEASE}-latest-x86_64-${EDITION}.iso" + local URL="https://repo.almalinux.org/almalinux/${RELEASE}/isos/x86_64" + HASH="$(web_pipe "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/alpine b/actions/alpine new file mode 100644 index 0000000000..9ccddae72c --- /dev/null +++ b/actions/alpine @@ -0,0 +1,29 @@ +# Template file for 'alpine' +OSNAME=alpine +PRETTY="Alpine Linux" +BASEDOF="-" +DESCRIPTION="Security-oriented, lightweight Linux distribution based on musl libc and busybox" +HOMEPAGE="https://alpinelinux.org/" +CREDENTIALS="-" + +function releases_() { + local REL="" + local RELS="" + RELS=$(web_pipe "https://dl-cdn.alpinelinux.org/alpine/" | grep '"v' | cut -d'"' -f2 | tr -d / | sort -Vr | head -n 10) + for REL in ${RELS}; do + if web_check "https://dl-cdn.alpinelinux.org/alpine/${REL}/releases/x86_64/"; then + echo -n "${REL} " + fi + done +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://dl-cdn.alpinelinux.org/alpine/${RELEASE}/releases/x86_64" + local VERSION="" + VERSION=$(web_pipe "${URL}/latest-releases.yaml" | awk '/"Xen"/{found=0} {if(found) print} /"Virtual"/{found=1}' | grep 'version:' | awk '{print $2}') + ISO="alpine-virt-${VERSION}-x86_64.iso" + HASH=$(web_pipe "${URL}/latest-releases.yaml" | awk '/"Xen"/{found=0} {if(found) print} /"Virtual"/{found=1}' | grep 'sha256:' | awk '{print $2}') + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/android b/actions/android new file mode 100644 index 0000000000..3323184f3c --- /dev/null +++ b/actions/android @@ -0,0 +1,35 @@ +# Template file for 'android' +OSNAME="android" +PRETTY="Android x86" +BASEDOF="-" +DESCRIPTION="Port Android Open Source Project to x86 platform" +HOMEPAGE="https://www.android-x86.org" +CREDENTIALS="-" + +function releases_() { + echo 9.0 8.1 7.1 +} + +function editions_() { + echo x86_64 x86 +} + +function get_() { + local HASH="" + local ISO="" + local JSON_ALL="" + local JSON_REL="" + local URL="https://mirrors.gigenet.com/OSDN/android-x86" + JSON_ALL=$(web_pipe "https://www.fosshub.com/Android-x86-old.html" | grep "var settings =" | cut -d'=' -f2-) + JSON_REL=$(echo "${JSON_ALL}" | jq --arg ver "${OS}-${EDITION}-${RELEASE}" 'first(.pool.f[] | select((.n | startswith($ver)) and (.n | endswith(".iso"))))') + ISO=$(echo "${JSON_REL}" | jq -r .n) + HASH=$(echo "${JSON_REL}" | jq -r .hash.sha256) + # Traverse the directories to find the .iso location + for DIR in $(web_pipe "${URL}" | grep -o -E '[0-9]{5}' | sort -ur); do + if web_pipe "${URL}/${DIR}" | grep "${ISO}" &>/dev/null; then + URL="${URL}/${DIR}" + break + fi + done + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/antix b/actions/antix new file mode 100644 index 0000000000..135cce1922 --- /dev/null +++ b/actions/antix @@ -0,0 +1,40 @@ +# Template file for 'antix' +OSNAME="antix" +PRETTY="Antix" +BASEDOF="Debian" +DESCRIPTION="Fast, lightweight and easy to install systemd-free linux live CD distribution based on Debian Stable for Intel-AMD x86 compatible systems" +HOMEPAGE="https://antixlinux.com" +CREDENTIALS="-" + +function releases_() { + echo 23.2 23.1 23 22 21 +} + +function editions_() { + echo net-sysv core-sysv base-sysv full-sysv net-runit core-runit base-runit full-runit +} + +function get_() { + local HASH="" + local ISO="antiX-${RELEASE}" + local README="README" + local URL="https://sourceforge.net/projects/antix-linux/files/Final/antiX-${RELEASE}" + + # antiX uses a different URL and ISO naming for runit editions + if [[ "${EDITION}" == *"runit"* ]];then + ISO+="-runit" + README="README2" + case ${RELEASE} in + 21) URL+="/runit-bullseye";; + *) URL+="/runit-antiX-${RELEASE}";; + esac + fi + case ${EDITION} in + base-*) ISO+="_x64-base.iso";; + core-*) ISO+="_x64-core.iso";; + full-*) ISO+="_x64-full.iso";; + net-*) ISO+="-net_x64-net.iso";; + esac + HASH=$(web_pipe "${URL}/${README}.txt" | grep "${ISO}" | cut -d' ' -f1 | head -n 1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/archcraft b/actions/archcraft new file mode 100644 index 0000000000..8bf84148e0 --- /dev/null +++ b/actions/archcraft @@ -0,0 +1,19 @@ +# Template file for 'archcraft' +OSNAME="archcraft" +PRETTY="Archcraft" +BASEDOF="Arch" +HOMEPAGE="https://archcraft.io" +DESCRIPTION="Yet another minimal Linux distribution, based on Arch Linux" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function get_() { + local HASH="" + local URL="" + URL="https://sourceforge.net/projects/archcraft/files/${RELEASE}/download" + URL="$(web_redirect "${URL}" | cut -d? -f1)" + echo "${URL} ${HASH}" +} diff --git a/actions/archlinux b/actions/archlinux new file mode 100644 index 0000000000..bfbecfdccd --- /dev/null +++ b/actions/archlinux @@ -0,0 +1,20 @@ +# Template file for '' +OSNAME="archlinux" +PRETTY="Arch Linux" +BASEDOF="-" +HOMEPAGE="https://archlinux.org" +DESCRIPTION="Lightweight and flexible Linux® distribution that tries to Keep It Simple" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://mirror.rackspace.com/archlinux" + ISO=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].iso_url') + HASH=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha256_sum') + echo "${URL}${ISO} ${HASH}" +} diff --git a/actions/arco b/actions/arco new file mode 100644 index 0000000000..0d683bf1f3 --- /dev/null +++ b/actions/arco @@ -0,0 +1,26 @@ +# Template file for 'arcolinux' +OSNAME="arcolinux" +PRETTY="Arco Linux" +BASEDOF="Arch" +HOMEPAGE="https://arcolinux.com" +DESCRIPTION="Is all about becoming an expert in linux" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://mirror.accum.se/mirror/arcolinux.info/iso/" | grep -o -E -e "v[[:digit:]]{2}.[[:digit:]]{2}.[[:digit:]]{2}" | sort -ru | head -n 5) +} + +function editions_() { + echo net plasma pro +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + URL="https://mirror.accum.se/mirror/arcolinux.info/iso/${RELEASE}" + ISO="arco${EDITION}-${RELEASE}-x86_64.iso" + HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/artixlinux b/actions/artixlinux new file mode 100644 index 0000000000..3c50570885 --- /dev/null +++ b/actions/artixlinux @@ -0,0 +1,26 @@ +# Template file for 'artixlinux' +OSNAME="artixlinux" +PRETTY="Artix Linux" +BASEDOF="Arch" +HOMEPAGE="https://artixlinux.org" +DESCRIPTION="The Art of Linux. Simple. Fast. Systemd-free" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://mirror1.artixlinux.org/iso/" | grep "artix-" | cut -d'"' -f2 | grep -v sig | cut -d'-' -f 4 | sort -ru | tail -n 1) +} + +function editions_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://mirror1.artixlinux.org/iso/" | grep "artix-" | cut -d'"' -f2 | grep -v sig | cut -d'-' -f2-3 | sort -u) +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://iso.artixlinux.org/iso" + ISO="artix-${EDITION}-${RELEASE}-x86_64.iso" + HASH=$(web_pipe "${URL}/sha256sums" | grep "${ISO}") + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/athenaos b/actions/athenaos new file mode 100644 index 0000000000..05572c77d6 --- /dev/null +++ b/actions/athenaos @@ -0,0 +1,20 @@ +# Template file for 'athenaos' +OSNAME="athenaos" +PRETTY="Athena OS" +BASEDOF="Arch" +HOMEPAGE="https://athenaos.org" +DESCRIPTION="Offer a different experience than the most used pentesting distributions by providing only tools that fit with the user needs and improving the access to hacking resources and learning materials" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://api.github.com/repos/Athena-OS/athena/releases" | grep 'download_url' | grep rolling | cut -d'/' -f8 | sort -u) +} + +function get_() { + local HASH="" + local URL="https://github.com/Athena-OS/athena/releases/download/${RELEASE}" + local ISO="athena-rolling-x86_64.iso" + HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/batocera b/actions/batocera new file mode 100644 index 0000000000..e578f6f67f --- /dev/null +++ b/actions/batocera @@ -0,0 +1,20 @@ +# Template file for 'batocera' +OSNAME="batocera" +PRETTY="Batocera" +BASEDOF="-" +HOMEPAGE="https://batocera.org" +DESCRIPTION="Retro-gaming distribution with the aim of turning any computer/nano computer into a gaming console during a game or permanently" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://mirrors.o2switch.fr/batocera/x86_64/stable/" | grep ^\' -f 9 | cut -d'/' -f 1) + echo -n "${NEW}" + MAJ=$(echo "${NEW}" | cut -d'.' -f 1) + ARCHIVE="$(web_pipe "https://cdimage.debian.org/cdimage/archive/" | grep folder | grep -v NEVER | cut -d'"' -f 6)" + for i in {1..2}; do + CUR=$((MAJ - i)) + OLD=$(grep ^"${CUR}" <<< "${ARCHIVE}" | tail -n 1 | tr -d '/') + echo -n " ${OLD}" + done + echo +} + +function editions_() { + echo standard cinnamon gnome kde lxde lxqt mate xfce netinst +} + +function get_() { + local DEBCURRENT="" + local HASH="" + local ISO="debian-live-${RELEASE}-amd64-${EDITION}.iso" + local URL="https://cdimage.debian.org/cdimage/archive/${RELEASE}-live/amd64/iso-hybrid" + DEBCURRENT=$(web_pipe "https://cdimage.debian.org/debian-cd/" | grep '\.[0-9]/' | cut -d'>' -f 9 | cut -d'/' -f 1) + case "${RELEASE}" in + "${DEBCURRENT}") URL="https://cdimage.debian.org/debian-cd/${RELEASE}-live/amd64/iso-hybrid";; + esac + if [ "${EDITION}" == "netinst" ]; then + URL="${URL/-live/}" + URL="${URL/hybrid/cd}" + ISO="${ISO/-live/}" + fi + HASH=$(web_pipe "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1 | head -n 1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/deepin b/actions/deepin new file mode 100644 index 0000000000..43c065c90a --- /dev/null +++ b/actions/deepin @@ -0,0 +1,26 @@ +# Template file for 'deepin' +OSNAME="deepin" +PRETTY="Deepin" +BASEDOF="Debian" +HOMEPAGE="https://www.deepin.org" +DESCRIPTION="Beautiful UI design, intimate human-computer interaction, and friendly community environment make you feel at home" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://mirrors.kernel.org/deepin-cd/" | grep "href=" | cut -d'"' -f2 | grep -v "\.\." | grep -v nightly | grep -v preview | sed 's|/||g' | tail -n 10 | sort -r) +} + +function get_() { + local HASH="" + local REV=${RELEASE} + # deepin-desktop-community-20.3-amd64.iso + local URL="https://cdimage.deepin.com/releases/"${RELEASE} + # Correct URL for 23-RC onwards which has architecture directories + if [ "${RELEASE}" != "20.9" ]; then + URL+="/amd64" + fi + local ISO="deepin-desktop-community-${REV}-amd64.iso" + HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/devuan b/actions/devuan new file mode 100644 index 0000000000..572b6ce4a9 --- /dev/null +++ b/actions/devuan @@ -0,0 +1,26 @@ +# Template file for 'devuan' +OSNAME="devuan" +PRETTY="Devuan" +BASEDOF="Debian" +HOMEPAGE="https://www.devuan.org" +DESCRIPTION="Fork of Debian without systemd that allows users to reclaim control over their system by avoiding unnecessary entanglements and ensuring Init Freedom" +CREDENTIALS="-" + +function releases_() { + echo daedalus chimaera beowulf +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://files.devuan.org/devuan_${RELEASE}/desktop-live" + local VER="" + case ${RELEASE} in + beowulf) VER="3.1.1";; + chimaera) VER="4.0.3";; + daedalus) VER="5.0.0";; + esac + ISO="devuan_${RELEASE}_${VER}_amd64_desktop-live.iso" + HASH=$(web_pipe "${URL}/SHASUMS.txt" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/dragonflybsd b/actions/dragonflybsd new file mode 100644 index 0000000000..f3102b6ce0 --- /dev/null +++ b/actions/dragonflybsd @@ -0,0 +1,22 @@ +# Template file for 'dragonflybsd' +OSNAME="dragonflybsd" +PRETTY="DragonFlyBSD" +BASEDOF="FreeBSD" +HOMEPAGE="https://www.dragonflybsd.org" +DESCRIPTION="Provides an opportunity for the BSD base to grow in an entirely different direction from the one taken in the FreeBSD, NetBSD, and OpenBSD series" +CREDENTIALS="-" + +function releases_() { + # If you remove "".bz2" from the end of the searched URL, you will get only the current release - currently 6.4.0 + # We could add a variable so this behaviour is optional/switchable (maybe from option or env) + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://mirror-master.dragonflybsd.org/iso-images/" | grep -E -o '"dfly-x86_64-.*_REL.iso.bz2"' | grep -o -E '[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+') +} + +function get_() { + local HASH="" + local ISO="dfly-x86_64-${RELEASE}_REL.iso.bz2" + local URL="http://mirror-master.dragonflybsd.org/iso-images" + HASH=$(web_pipe "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/dsl b/actions/dsl new file mode 100644 index 0000000000..1525323538 --- /dev/null +++ b/actions/dsl @@ -0,0 +1,27 @@ +# Template file for 'dsl' +OSNAME="dsl" +PRETTY="Damn Small Linux" +BASEDOF="Antix" +HOMEPAGE="https://www.damnsmalllinux.org/" +DESCRIPTION="Goal of DSL is to pack as much usable desktop distribution into an image small enough to fit on a single CD" +CREDENTIALS="-" + +function releases_() { + echo 2024.rc7 +} + +function editions_() { + echo lz4 cdrom +} + +function get_() { + local ISO="" + local HASH="" + local URL="https://www.damnsmalllinux.org/download" + case "$EDITION" in + lz4) ISO="dsl-${RELEASE}.lz4.iso";; + cdrom) ISO="dsl-${RELEASE}.iso";; + esac + HASH=$(web_pipe "${URL}/${ISO}.md5.txt" | cut -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/easyos b/actions/easyos new file mode 100644 index 0000000000..9e52fd492a --- /dev/null +++ b/actions/easyos @@ -0,0 +1,35 @@ +# Template file for 'easyos' +OSNAME="easyos" +PRETTY="EasyOS" +BASEDOF="-" +HOMEPAGE="https://easyos.org" +DESCRIPTION="Experimental distribution designed from scratch to support containers" +CREDENTIALS="-" + +function releases_() { + local ALL_RELEASES="" + local YEAR="" + # get the latest 2 years of releases so that when we hit next year we still have the latest 2 years + TWO_YEARS=$(web_pipe https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/ | grep -o -E '[[:digit:]]{4}/' | sort -nr | tr -d / | head -n 2 ) + for YEAR in ${TWO_YEARS} ; do + ALL_RELEASES="${ALL_RELEASES} $(web_pipe https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/ | grep -o -E '[[:digit:]]+(\.[[:digit:]])+/' | tr -d / | sort -nr)" + done + echo ${ALL_RELEASES} +} + +function get_() { + local HASH="" + local URL="" + local ISO="" + local YEAR="" + ISO="easy-${RELEASE}-amd64.img" + TWO_YEARS=$(web_pipe https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/ | grep -o -E '[[:digit:]]{4}/' | sort -nr | tr -d / | head -n 2 ) + for YEAR in ${TWO_YEARS} ; do + if web_check "https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/${RELEASE}/" ; then + URL="https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/${RELEASE}" + HASH=$(web_pipe "${URL}/md5.sum.txt" | cut -d' ' -f1) + break + fi + done + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/elementary b/actions/elementary new file mode 100644 index 0000000000..c82888095f --- /dev/null +++ b/actions/elementary @@ -0,0 +1,23 @@ +# Template file for 'elementary' +OSNAME="elementary" +PRETTY="elementary OS" +BASEDOF="Debian Ubuntu" +HOMEPAGE="https://elementary.io" +DESCRIPTION="Thoughtful, capable, and ethical replacement for Windows and macOS" +CREDENTIALS="-" + +function releases_() { + echo 8.0 7.1 7.0 +} + +function get_() { + local HASH="" + case ${RELEASE} in + 7.0) STAMP="20230129rc";; + 7.1) STAMP="20230926rc";; + 8.0) STAMP="20241122rc";; + esac + local ISO="elementaryos-${RELEASE}-stable.${STAMP}.iso" + local URL="https://ams3.dl.elementary.io/download" + echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}" +} diff --git a/actions/endeavouros b/actions/endeavouros new file mode 100644 index 0000000000..95780b646f --- /dev/null +++ b/actions/endeavouros @@ -0,0 +1,25 @@ +# Template file for 'endeavouros' +OSNAME="endeavouros" +PRETTY="EndeavourOS" +BASEDOF="Arch" +HOMEPAGE="https://endeavouros.com" +DESCRIPTION="Provides an Arch experience without the hassle of installing it manually for both x86_64 and ARM systems" +CREDENTIALS="-" + +function releases_() { + local ENDEAVOUR_RELEASES="" + ENDEAVOUR_RELEASES="$(web_pipe "https://mirror.alpix.eu/endeavouros/iso/" | grep -o '' | sed 's/^.*//' | grep -v 'x86_64' | LC_ALL="en_US.UTF-8" sort -Mr | cut -c 13- | head -n 5 | tr '\n' ' ')" + echo "${ENDEAVOUR_RELEASES,,}" +} + +function get_() { + local ENDEAVOUR_RELEASES="" + local HASH="" + local ISO="" + local URL="https://mirror.alpix.eu/endeavouros/iso" + # Find EndeavourOS releases from mirror, pick one matching release + ENDEAVOUR_RELEASES="$(web_pipe "${URL}/" | grep -o '' | sed 's/^.*//' | grep -v 'x86_64')" + ISO="$(echo "${ENDEAVOUR_RELEASES}" | grep -i "${RELEASE}").iso" + HASH=$(web_pipe "${URL}/${ISO}.sha512sum" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/endless b/actions/endless new file mode 100644 index 0000000000..af1c869309 --- /dev/null +++ b/actions/endless @@ -0,0 +1,36 @@ +# Template file for 'endless' +OSNAME="endless" +PRETTY="Endless OS" +BASEDOF="Debian" +HOMEPAGE="https://www.endlessos.org/os" +DESCRIPTION="Completely Free, User-Friendly Operating System Packed with Educational Tools, Games, and More" +CREDENTIALS="-" + +function releases_() { + echo 6.0.4 +} + +function editions_() { + echo base en fr pt_BR es +} + +function get_() { + local HASH="" # No hash - there is a signature in .asc signed by + #https://d1anzknqnc1kmb.cloudfront.net/eos-image-keyring.gpg + # (4096R: CB50 0F7B C923 3FAD 32B4 E720 9E0C 1250 587A 279C) + local FILE_TS="" + # https://support.endlessos.org/en/installation/direct-download gives the info but computes the URLS in js + # so parsing out the useful info is not happening tonight + # Endless edition names are "base" for the small minimal one or the Language for the large full release + # The isos are stamped as they are finished so .... + case ${EDITION} in + base) FILE_TS="241023-183516";; + en) FILE_TS="241023-200926";; + es) FILE_TS="241023-184649";; + fr) FILE_TS="241023-191212";; + pt_BR) FILE_TS="241023-191427";; + esac + URL="https://images-dl.endlessm.com/release/${RELEASE}/eos-amd64-amd64/${EDITION}" + ISO="eos-eos${RELEASE:0:3}-amd64-amd64.${FILE_TS}.${EDITION}.iso" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/fedora b/actions/fedora new file mode 100644 index 0000000000..1718219f15 --- /dev/null +++ b/actions/fedora @@ -0,0 +1,46 @@ +# Template file for 'fedora' +OSNAME="fedora" +PRETTY="Fedora" +BASEDOF="-" +HOMEPAGE="https://www.fedoraproject.org" +DESCRIPTION="Innovative platform for hardware, clouds, and containers, built with love by you" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://getfedora.org/releases.json" | jq -r 'map(.version) | unique | .[]' | sed 's/ /_/g' | sort -r) +} + +function editions_() { + #shellcheck disable=SC2046,SC2005 + if [[ -z ${RELEASE} ]]; then + echo $(web_pipe "https://getfedora.org/releases.json" | jq -r "map(select(.arch==\"x86_64\" and .variant!=\"Labs\" and .variant!=\"IoT\" and .variant!=\"Container\" and .variant!=\"Cloud\" and .variant!=\"Everything\" and .subvariant!=\"Security\" and .subvariant!=\"Server_KVM\" and .subvariant!=\"SoaS\")) | map(.subvariant) | unique | .[]") + else + echo $(web_pipe "https://getfedora.org/releases.json" | jq -r "map(select(.arch==\"x86_64\" and .version==\"${RELEASE/_/ }\" and .variant!=\"Labs\" and .variant!=\"IoT\" and .variant!=\"Container\" and .variant!=\"Cloud\" and .variant!=\"Everything\" and .subvariant!=\"Security\" and .subvariant!=\"Server_KVM\" and .subvariant!=\"SoaS\")) | map(.subvariant) | unique | .[]") + fi +} + +function get_() { + local HASH="" + local ISO="" + local JSON="" + local URL="" + local VARIANT="" + case ${EDITION} in + Server|Kinoite|Onyx|Silverblue|Sericea|Workstation) VARIANT="${EDITION}";; + *) VARIANT="Spins";; + esac + # The naming of 41 Beta with a space is problematic so we replaced it with an underscore + # but we need to convert it back to a space for the URL search in the JSON + #shellcheck disable=SC2086 + # if RELEASE contains an underscore, replace it with a space + if [[ "${RELEASE}" == *"_"* ]]; then + RELEASE="${RELEASE/_/ }" + fi + + # shellcheck disable=SC2086 + JSON=$(web_pipe "https://getfedora.org/releases.json" | jq '.[] | select(.variant=="'${VARIANT}'" and .subvariant=="'"${EDITION}"'" and .arch=="x86_64" and .version=="'"${RELEASE}"'" and (.link | endswith(".iso")))') + URL=$(echo "${JSON}" | jq -r '.link' | head -n1) + HASH=$(echo "${JSON}" | jq -r '.sha256' | head -n1) + echo "${URL} ${HASH}" +} diff --git a/actions/freebsd b/actions/freebsd new file mode 100644 index 0000000000..672d890c4c --- /dev/null +++ b/actions/freebsd @@ -0,0 +1,24 @@ +# Template file for 'freebsd' +OSNAME="freebsd" +PRETTY="FreeBSD" +BASEDOF="-" +HOMEPAGE="https://www.freebsd.org" +DESCRIPTION="Operating system used to power modern servers, desktops, and embedded platforms" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://download.freebsd.org/ftp/releases/amd64/amd64/" | grep -Eo "href=\"[0-9\.]+-RELEASE" | grep -oE '[0-9\.]+' | sort -r) +} + +function editions_() { + echo disc1 dvd1 +} + +function get_() { + local HASH="" + local ISO="FreeBSD-${RELEASE}-RELEASE-amd64-${EDITION}.iso" + local URL="https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/${RELEASE}" + HASH=$(web_pipe "${URL}/CHECKSUM.SHA256-FreeBSD-${RELEASE}-RELEASE-amd64" | grep "${ISO}" | grep -v ".xz" | cut -d' ' -f4) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/freedos b/actions/freedos new file mode 100644 index 0000000000..9508209125 --- /dev/null +++ b/actions/freedos @@ -0,0 +1,24 @@ +# Template file for 'freedos' +OSNAME="freedos" +PRETTY="FreeDOS" +BASEDOF="-" +HOMEPAGE="https://freedos.org" +DESCRIPTION="DOS-compatible operating system that you can use to play classic DOS games, run legacy business software, or develop embedded systems" +CREDENTIALS="-" + +function releases_() { + echo 1.3 1.2 +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/${RELEASE}/official" + case ${RELEASE} in + 1.2) ISO="FD12CD.iso" + HASH=$(web_pipe "${URL}/FD12.sha" | grep "${ISO}" | cut -d' ' -f1);; + 1.3) ISO="FD13-LiveCD.zip" + HASH=$(web_pipe "${URL}/verify.txt" | grep -A 8 "sha256sum" | grep "${ISO}" | cut -d' ' -f1);; + esac + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/garuda b/actions/garuda new file mode 100644 index 0000000000..17f5e0af62 --- /dev/null +++ b/actions/garuda @@ -0,0 +1,24 @@ +# Template file for 'garuda' +OSNAME="garuda" +PRETTY="Garuda Linux" +BASEDOF="Arch" +HOMEPAGE="https://garudalinux.org" +DESCRIPTION="Feature rich and easy to use Linux distribution" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function editions_() { + echo cinnamon dr460nized dr460nized-gaming gnome i3 kde-git kde-lite lxqt-kwin mate qtile sway wayfire xfce +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://iso.builds.garudalinux.org/iso/latest/garuda" + ISO=${EDITION}/latest.iso + HASH="$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/gentoo b/actions/gentoo new file mode 100644 index 0000000000..aa53736644 --- /dev/null +++ b/actions/gentoo @@ -0,0 +1,27 @@ +# Template file for 'gentoo' +OSNAME="gentoo" +PRETTY="Gentoo" +BASEDOF="-" +HOMEPAGE="https://www.gentoo.org" +DESCRIPTION="Highly flexible, source-based Linux distribution" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function editions_() { + echo minimal livegui +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds" + case ${EDITION} in + minimal) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1);; + livegui) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep livegui | cut -d' ' -f1);; + esac + HASH=$(web_pipe "${URL}/${ISO}.DIGESTS" | grep -A 1 SHA512 | grep iso | grep -v CONTENTS | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/ghostbsd b/actions/ghostbsd new file mode 100644 index 0000000000..d31e434d1a --- /dev/null +++ b/actions/ghostbsd @@ -0,0 +1,28 @@ +# Template file for 'ghostbsd' +OSNAME="ghostbsd" +PRETTY="GhostBSD" +BASEDOF="FreeBSD" +HOMEPAGE="https://www.ghostbsd.org" +DESCRIPTION="Simple, elegant desktop BSD Operating System" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://download.ghostbsd.org/releases/amd64/" | grep "href" | cut -d'"' -f2 | cut -d'/' -f1 | sort -r | tail -n +3 | head -n 3) +} + +function editions_() { + echo mate xfce +} + +function get_() { + local ISO="" + local URL="https://download.ghostbsd.org/releases/amd64/${RELEASE}" + local HASH="" + case ${EDITION} in + mate) ISO="GhostBSD-${RELEASE}.iso";; + xfce) ISO="GhostBSD-${RELEASE}-XFCE.iso";; + esac + HASH=$(web_pipe "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/gnomeos b/actions/gnomeos new file mode 100644 index 0000000000..459bf6c931 --- /dev/null +++ b/actions/gnomeos @@ -0,0 +1,29 @@ +# Template file for 'gnomeos' +OSNAME="gnomeos" +PRETTY="GNOME OS" +BASEDOF="-" +HOMEPAGE="https://os.gnome.org" +DESCRIPTION="Alpha nightly bleeding edge distro of GNOME" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo "nightly" $(web_pipe "https://download.gnome.org/gnomeos/" | grep "title=" | awk -F'"' '{print $4}' | tr -d '/' | sort -nr) +} + +function get_() { + local HASH="" + local ISO="gnome_os_installer_${RELEASE}.iso" + local URL="https://download.gnome.org/gnomeos/${RELEASE}" + case ${RELEASE} in + nightly) + ISO="gnome_os_installer.iso" + URL="https://os.gnome.org/download/latest";; + 46.0) ISO="gnome_os_installer_46.iso";; + 3*) ISO="gnome_os_installer.iso";; + 48.alpha) ISO=$(web_pipe "https://download.gnome.org/gnomeos/48.alpha/" | grep '.iso' | cut -d'"' -f4);; + esac + # Process the URL redirections; required for GNOME + ISO=$(web_redirect "${URL}/${ISO}") + echo "${ISO} ${HASH}" +} diff --git a/actions/guix b/actions/guix new file mode 100644 index 0000000000..b9628310e5 --- /dev/null +++ b/actions/guix @@ -0,0 +1,18 @@ +# Template file for 'guix' +OSNAME="guix" +PRETTY="Guix" +BASEDOF="-" +HOMEPAGE="https://guix.gnu.org" +DESCRIPTION="Distribution of the GNU operating system developed by the GNU Project—which respects the freedom of computer users" +CREDENTIALS="-" + +function releases_() { + echo 1.4.0 1.3.0 +} + +function get_() { + local HASH="" + local ISO="guix-system-install-${RELEASE}.x86_64-linux.iso" + local URL="https://ftpmirror.gnu.org/gnu/guix/" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/haiku b/actions/haiku new file mode 100644 index 0000000000..424a422fd6 --- /dev/null +++ b/actions/haiku @@ -0,0 +1,22 @@ +# Template file for 'haiku' +OSNAME="haiku" +PRETTY="Haiku" +BASEDOF="-" +HOMEPAGE="https://www.haiku-os.org" +DESCRIPTION="Specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful" +CREDENTIALS="-" + +function releases_() { + echo r1beta5 r1beta4 r1beta3 +} + +function editions_() { + echo x86_64 x86_gcc2h +} + +function get_() { + local ISO="haiku-${RELEASE}-${EDITION}-anyboot.iso" + local URL="http://mirror.rit.edu/haiku/${RELEASE}" + HASH=$(web_pipe "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/kali b/actions/kali new file mode 100644 index 0000000000..0b4203a1e6 --- /dev/null +++ b/actions/kali @@ -0,0 +1,20 @@ +# Template file for 'kali' +OSNAME="kali" +PRETTY="Kali Linux" +BASEDOF="Debian" +HOMEPAGE="https://www.kali.org" +DESCRIPTION="The most advanced Penetration Testing Distribution" +CREDENTIALS="-" + +function releases_() { + echo current kali-weekly +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://cdimage.kali.org/${RELEASE}" + ISO=$(web_pipe "${URL}/?C=M;O=D" | grep -o ">kali-linux-.*-installer-amd64.iso" | head -n 1 | cut -c 2-) + HASH=$(web_pipe "${URL}/SHA256SUMS" | grep -v torrent | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/kdeneon b/actions/kdeneon new file mode 100644 index 0000000000..9e4c1a1271 --- /dev/null +++ b/actions/kdeneon @@ -0,0 +1,24 @@ +# Template file for 'kdeneon' +OSNAME="kdeneon" +PRETTY="KDE Neon" +BASEDOF="Debian Ubuntu" +HOMEPAGE="https://neon.kde.org" +DESCRIPTION="Latest and greatest of KDE community software packaged on a rock-solid base" +CREDENTIALS="-" + +function releases_() { + echo user testing unstable developer +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://files.kde.org/neon/images/${RELEASE}/current" + if [ "$RELEASE" == 'developer' ]; then + ISO=$(web_pipe "${URL}/neon-unstable-${RELEASE}-current.sha256sum" | cut -d' ' -f3-) + else + ISO=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-) + fi + HASH=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/kolibrios b/actions/kolibrios new file mode 100644 index 0000000000..80656a4bb8 --- /dev/null +++ b/actions/kolibrios @@ -0,0 +1,22 @@ +# Template file for 'kolibrios' +OSNAME="kolibrios" +PRETTY="KolibriOS" +BASEDOF="-" +HOMEPAGE="http://kolibrios.org" +DESCRIPTION="Tiny yet incredibly powerful and fast operating system" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function editions_() { + echo en_US ru_RU it_IT es_ES +} + +function get_() { + local HASH="" + local ISO="latest-iso.7z" + local URL="http://builds.kolibrios.org/${EDITION}" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/linuxlite b/actions/linuxlite new file mode 100644 index 0000000000..41b04c4820 --- /dev/null +++ b/actions/linuxlite @@ -0,0 +1,19 @@ +# Template file for 'linuxlite' +OSNAME="linuxlite" +PRETTY="Linux Lite" +BASEDOF="Debian Ubuntu" +HOMEPAGE="https://www.linuxliteos.com" +DESCRIPTION="Your first simple, fast and free stop in the world of Linux" +CREDENTIALS="-" + +function releases_() { + echo 6.6 6.4 6.2 6.0 +} + +function get_() { + local HASH="" + local ISO="linux-lite-${RELEASE}-64bit.iso" + local URL="https://sourceforge.net/projects/linux-lite/files/${RELEASE}" + HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/linuxmint b/actions/linuxmint new file mode 100644 index 0000000000..f83e82d949 --- /dev/null +++ b/actions/linuxmint @@ -0,0 +1,23 @@ +# Template file for 'linuxmint' +OSNAME="linuxmint" +PRETTY="Linux Mint" +BASEDOF="Ubuntu" +HOMEPAGE="https://linuxmint.com" +DESCRIPTION="Designed to work out of the box and comes fully equipped with the apps most people need" +CREDENTIALS="-" + +function releases_() { + echo 22.1 22 21.3 21.2 21.1 21 20.3 20.2 +} + +function editions_() { + echo cinnamon mate xfce +} + +function get_() { + local HASH="" + local ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso" + local URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}" + HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/lmde b/actions/lmde new file mode 100644 index 0000000000..7480a9119d --- /dev/null +++ b/actions/lmde @@ -0,0 +1,23 @@ +# Template file for 'lmde' +OSNAME="lmde" +PRETTY="Linux Mint Debian Edition" +BASEDOF="Debian" +HOMEPAGE="https://www.linuxmint.com/download_lmde.php" +DESCRIPTION="Aims to be as similar as possible to Linux Mint, but without using Ubuntu. The package base is provided by Debian instead" +CREDENTIALS="-" + +function releases_() { + echo 6 +} + +function editions_() { + echo cinnamon +} + +function get_() { + local HASH="" + local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso" + local URL="https://mirror.bytemark.co.uk/linuxmint/debian" + HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/maboxlinux b/actions/maboxlinux new file mode 100644 index 0000000000..553ec65989 --- /dev/null +++ b/actions/maboxlinux @@ -0,0 +1,19 @@ +# Template file for 'maboxlinux' +OSNAME="maboxlinux" +PRETTY="Mabox Linux" +BASEDOF="Manjaro" +HOMEPAGE="https://maboxlinux.org" +DESCRIPTION="Lightweight, functional and easy to customize Openbox desktop" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function get_() { + local HASH="" + local URL="" + URL="https://sourceforge.net/projects/mabox-linux/files/${RELEASE}/download" + URL="$(web_redirect "${URL}" | cut -d? -f1)" + echo "${URL} ${HASH}" +} diff --git a/actions/macos b/actions/macos new file mode 100644 index 0000000000..a340300790 --- /dev/null +++ b/actions/macos @@ -0,0 +1,140 @@ +# Template file for 'macos' +OSNAME="macos" +PRETTY="MacOS" +BASEDOF="-" +HOMEPAGE="https://www.apple.com/macos" +DESCRIPTION="Work and play on your Mac are even more powerful. Elevate your presence on video calls. Access information in all-new ways. Boost gaming performance." +CREDENTIALS="-" +RELEASES="mojave catalina big-sur monterey ventura sonoma" + +function releases_() { + echo mojave catalina big-sur monterey ventura sonoma +} + +function generate_id() { + local macRecoveryID="" + local TYPE="${1}" + local valid_chars=("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F") + for ((i=0; i&1 | tr ';' '\n' | awk -F'session=|;' '{print $2}' | grep 1) + info=$(curl --disable -s -X POST -H "Host: osrecovery.apple.com" \ + -H "Connection: close" \ + -A "InternetRecovery/1.0" \ + -b "session=\"${appleSession}\"" \ + -H "Content-Type: text/plain" \ + -d $'cid='"$(generate_id 16)"$'\nsn='${MLB}$'\nbid='${BOARD_ID}$'\nk='"$(generate_id 64)"$'\nfg='"$(generate_id 64)"$'\nos='${OS_TYPE} \ + https://osrecovery.apple.com/InstallationPayload/RecoveryImage | tr ' ' '\n') + downloadLink=$(echo "$info" | grep 'oscdn' | grep 'dmg') + downloadSession=$(echo "$info" | grep 'expires' | grep 'dmg') + chunkListLink=$(echo "$info" | grep 'oscdn' | grep 'chunklist') + chunkListSession=$(echo "$info" | grep 'expires' | grep 'chunklist') + + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "" "${downloadLink}" | tee -a "public/tmp_${OS}" + exit 0 + elif [ "${OPERATION}" == "test" ]; then + CHECK=$(web_check "${downloadLink}" --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${downloadSession}" && echo "PASS" || echo "FAIL") + test_result "${OS}" "${RELEASE}" "" "${downloadLink}" "${CHECK}" | tee -a "public/tmp_${OS}" + exit 0 + elif [ "${OPERATION}" == "download" ]; then + echo "Downloading macOS (${RELEASE^}) RecoveryImage" + echo " - URL: ${downloadLink}" + web_get "${downloadLink}" "${VM_PATH}" RecoveryImage.dmg --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${downloadSession}" + web_get "${chunkListLink}" "${VM_PATH}" RecoveryImage.chunklist --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${chunkListSession}" + VM_PATH="$(pwd)" + else + if [ ! -e "${VM_PATH}/RecoveryImage.chunklist" ]; then + echo "Downloading macOS (${RELEASE^}) RecoveryImage" + echo " - URL: ${downloadLink}" + web_get "${downloadLink}" "${VM_PATH}" RecoveryImage.dmg --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${downloadSession}" + web_get "${chunkListLink}" "${VM_PATH}" RecoveryImage.chunklist --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${chunkListSession}" + if ! "${CHUNKCHECK}" "${VM_PATH}" 2> /dev/null; then + echo " - WARNING! Verification failed, continuing anyway" + else + echo " - Verification passed" + fi + + if [ -e "${VM_PATH}/RecoveryImage.dmg" ] && [ ! -e "${VM_PATH}/RecoveryImage.img" ]; then + echo " - Converting RecoveryImage.dmg" + ${QEMU_IMG} convert "${VM_PATH}/RecoveryImage.dmg" -O raw "${VM_PATH}/RecoveryImage.img" 2>/dev/null + fi + rm "${VM_PATH}/RecoveryImage.dmg" "${VM_PATH}/RecoveryImage.chunklist" + echo " - RecoveryImage.img is ready." + fi + echo "Downloading OpenCore & UEFI firmware" + web_get "https://github.com/kholia/OSX-KVM/raw/master/OpenCore/OpenCore.qcow2" "${VM_PATH}" + web_get "https://github.com/kholia/OSX-KVM/raw/master/OVMF_CODE.fd" "${VM_PATH}" + if [ ! -e "${VM_PATH}/OVMF_VARS-1920x1080.fd" ]; then + web_get "https://github.com/kholia/OSX-KVM/raw/master/OVMF_VARS-1920x1080.fd" "${VM_PATH}" + fi + fi + make_vm_config RecoveryImage.img +} diff --git a/actions/mageia b/actions/mageia new file mode 100644 index 0000000000..904940c6cd --- /dev/null +++ b/actions/mageia @@ -0,0 +1,23 @@ +# Template file for 'mageia' +OSNAME="mageia" +PRETTY="Mageia" +BASEDOF="-" +HOMEPAGE="https://www.mageia.org" +DESCRIPTION="Stable, secure operating system for desktop & server" +CREDENTIALS="-" + +function releases_() { + echo 9 8 +} + +function editions_() { + echo Plasma GNOME Xfce +} + +function get_() { + local HASH="" + local ISO="" + ISO=$(web_pipe https://www.mageia.org/en/downloads/get/?q="Mageia-${RELEASE}-Live-${EDITION}-x86_64.iso" | grep 'click here'| grep -o 'href=.*\.iso'|cut -d\" -f2) + HASH=$(web_pipe "${ISO}.sha512" | cut -d' ' -f1) + echo "${ISO} ${HASH}" +} diff --git a/actions/manjaro b/actions/manjaro new file mode 100644 index 0000000000..ea857eb610 --- /dev/null +++ b/actions/manjaro @@ -0,0 +1,45 @@ +# Template file for 'manjaro' +OSNAME="manjaro" +PRETTY="Manjaro" +BASEDOF="Arch" +HOMEPAGE="https://manjaro.org" +DESCRIPTION="Versatile, free, and open-source Linux operating system designed with a strong focus on safeguarding user privacy and offering extensive control over hardware" +CREDENTIALS="-" + +function releases_() { + echo xfce gnome plasma cinnamon i3 sway +} + +function editions_() { + echo full minimal +} + +function get_() { + local HASH="" + local ISO="" + local MANIFEST="" + local URL="" + local TYPE="official" + MANIFEST="$(web_pipe https://gitlab.manjaro.org/web/iso-info/-/raw/master/file-info.json)" + case "${RELEASE}" in + sway) + MANIFEST="$(web_pipe https://mirror.manjaro-sway.download/manjaro-sway/release.json)" + TYPE="sway" + ;; + cinnamon|i3) TYPE="community";; + esac + + if [ "${EDITION}" == "minimal" ] && [ "${TYPE}" != "sway" ]; then + EDITION=".minimal" + else + EDITION="" + fi + + if [ "${RELEASE}" == "sway" ]; then + URL=$(echo "${MANIFEST}" | jq -r '.[] | select(.name|test("^manjaro-sway-.*[.]iso$")) | .url') + else + URL="$(echo "${MANIFEST}" | jq -r ."${TYPE}.${RELEASE}${EDITION}".image)" + fi + HASH=$(web_pipe "${URL}.sha512" | cut -d' ' -f1) + echo "${URL} ${HASH}" +} diff --git a/actions/mxlinux b/actions/mxlinux new file mode 100644 index 0000000000..a7ee8f2701 --- /dev/null +++ b/actions/mxlinux @@ -0,0 +1,29 @@ +# Template file for 'mxlinux' +OSNAME="mxlinux" +PRETTY="MX Linux" +BASEDOF="Debian Antix" +HOMEPAGE="https://mxlinux.org" +DESCRIPTION="Designed to combine elegant and efficient desktops with high stability and solid performance" +CREDENTIALS="-" + +function releases_() { + # needs header, so not web_pipe: + curl --disable -Ils "https://sourceforge.net/projects/mx-linux/files/latest/download" | grep -i 'location:' | cut -d? -f1 | cut -d_ -f1 | cut -d- -f3 +} + +function editions_() { + echo Xfce KDE Fluxbox +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://sourceforge.net/projects/mx-linux/files/Final/${EDITION}" + case ${EDITION} in + Xfce) ISO="MX-${RELEASE}_x64.iso";; + KDE) ISO="MX-${RELEASE}_KDE_x64.iso";; + Fluxbox) ISO="MX-${RELEASE}_fluxbox_x64.iso";; + esac + HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/netboot b/actions/netboot new file mode 100644 index 0000000000..49e119deba --- /dev/null +++ b/actions/netboot @@ -0,0 +1,19 @@ +# Template file for 'netboot' +OSNAME="netboot" +PRETTY="netboot.xyz" +BASEDOF="iPXE" +HOMEPAGE="https://netboot.xyz" +DESCRIPTION="Your favorite operating systems in one place" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function get_() { + local HASH="" + local ISO="netboot.xyz.iso" + local URL="https://boot.netboot.xyz/ipxe" + HASH=$(web_pipe "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/netbsd b/actions/netbsd new file mode 100644 index 0000000000..5b67d880a5 --- /dev/null +++ b/actions/netbsd @@ -0,0 +1,21 @@ +# Template file for 'netbsd' +OSNAME="netbsd" +PRETTY="NetBSD" +BASEDOF="-" +HOMEPAGE="https://www.netbsd.org" +DESCRIPTION="Free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices" +CREDENTIALS="-" + +function releases_() { + # V8 is EOL so filter it out + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://cdn.netbsd.org/pub/NetBSD/iso/" | grep -o -E '"[[:digit:]]+\.[[:digit:]]+/"' | tr -d '"/' | grep -v ^8 | sort -nr | head -n 4) +} + +function get_() { + local HASH="" + local ISO="NetBSD-${RELEASE}-amd64.iso" + local URL="https://cdn.netbsd.org/pub/NetBSD/NetBSD-${RELEASE}/images" + HASH=$(web_pipe "${URL}/MD5" | grep "${ISO}" | cut -d' ' -f4) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/nitrux b/actions/nitrux new file mode 100644 index 0000000000..968890983f --- /dev/null +++ b/actions/nitrux @@ -0,0 +1,23 @@ +# Template file for 'nitrux' +OSNAME="nitrux" +PRETTY="Nitrux" +BASEDOF="Debian Ubuntu" +HOMEPAGE="https://nxos.org" +DESCRIPTION="Powered by Debian, KDE Plasma and Frameworks, and AppImages" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function get_() { + local HASH="" + local URLBASE="" + local URL="" + local ISO="" + URLBASE="https://sourceforge.net/projects/nitruxos/files/Release" + URL="${URLBASE}/ISO" + ISO=$(web_pipe 'https://sourceforge.net/projects/nitruxos/rss?path=/Release/ISO' | grep '.iso' | head -n 1 | cut -d']' -f1 | cut -d '/' -f4) + HASH=$(web_pipe "${URLBASE}/MD5/${ISONAME}.md5sum" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/nixos b/actions/nixos new file mode 100644 index 0000000000..2f93c5a93d --- /dev/null +++ b/actions/nixos @@ -0,0 +1,35 @@ +# Template file for 'nixos' +OSNAME="nixos" +PRETTY="NixOS" +BASEDOF="-" +HOMEPAGE="https://nixos.org" +DESCRIPTION="Linux distribution based on Nix package manager, tool that takes a unique approach to package management and system configuration" +CREDENTIALS="-" + +function releases_() { + # Lists unstable plus the two most recent releases + #shellcheck disable=SC2046 + echo unstable $(web_pipe "https://nix-channels.s3.amazonaws.com/?delimiter=/" | grep -o -E 'nixos-[[:digit:]]+\.[[:digit:]]+' | cut -d- -f2 | sort -nru | head -n +2) +} + +function editions_() { + echo minimal plasma gnome +} + +function get_() { + local HASH="" + # Adapt the plasma edition according to the NixOS release + case "${EDITION}" in + plasma) + if [ "${RELEASE}" == "23.11" ]; then + EDITION+="5" + else + EDITION+="6" + fi + ;; + esac + local ISO="latest-nixos-${EDITION}-x86_64-linux.iso" + local URL="https://channels.nixos.org/nixos-${RELEASE}" + HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/nwg-shell b/actions/nwg-shell new file mode 100644 index 0000000000..81f4f8c061 --- /dev/null +++ b/actions/nwg-shell @@ -0,0 +1,20 @@ +# Template file for 'nwg-shell' +OSNAME="nwg-shell" +PRETTY="nwg-shell" +BASEDOF="Arch" +HOMEPAGE="https://nwg-piotr.github.io/nwg-shell" +DESCRIPTION="Arch Linux ISO with nwg-shell for sway and Hyprland" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://sourceforge.net/projects/nwg-iso/rss?path=/" | grep 'url=' | grep '64.iso' | cut -d'/' -f12 | cut -d'-' -f3) +} + +function get_() { + local HASH="" + local ISO="nwg-live-${RELEASE}-x86_64.iso" + local URL="https://sourceforge.net/projects/nwg-iso/files" + HASH="$(web_pipe "https://sourceforge.net/projects/nwg-iso/rss?path=/" | grep "${ISO}" | cut -d'>' -f3 | cut -d'<' -f1 | tail -n 1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/openbsd b/actions/openbsd new file mode 100644 index 0000000000..ac60346a5d --- /dev/null +++ b/actions/openbsd @@ -0,0 +1,20 @@ +# Template file for 'openbsd' +OSNAME="openbsd" +PRETTY="OpenBSD" +BASEDOF="-" +HOMEPAGE="https://www.openbsd.org" +DESCRIPTION="Free, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://mirror.leaseweb.com/pub/OpenBSD/" | grep -e '6\.[8-9]/' -e '[7-9]\.' | cut -d\" -f4 | tr -d '/' | sort -r) +} + +function get_() { + local HASH="" + local ISO="install${RELEASE//\./}.iso" + local URL="https://mirror.leaseweb.com/pub/OpenBSD/${RELEASE}/amd64" + HASH=$(web_pipe "${URL}/SHA256" | grep "${ISO}" | cut -d' ' -f4) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/openindiana b/actions/openindiana new file mode 100644 index 0000000000..85a4a3e115 --- /dev/null +++ b/actions/openindiana @@ -0,0 +1,26 @@ +# Template file for 'openindiana' +OSNAME="openindiana" +PRETTY="OpenIndiana" +BASEDOF="Solaris OPenSolaris" +HOMEPAGE="https://www.openindiana.org" +DESCRIPTION="Community supported illumos-based operating system" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://dlc.openindiana.org/isos/hipster/" | grep link | cut -d'/' -f 1 | cut -d '"' -f4 | sort -r | tail -n +2 | head -n 5) +} + +function editions_() { + echo gui text minimal +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + URL="https://dlc.openindiana.org/isos/hipster/${RELEASE}" + ISO="OI-hipster-${EDITION}-${RELEASE}.iso" + HASH=$(web_pipe "${URL}/${ISO}.sha256" |cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/opensuse b/actions/opensuse new file mode 100644 index 0000000000..6152328779 --- /dev/null +++ b/actions/opensuse @@ -0,0 +1,36 @@ +# Template file for 'opensuse' +OSNAME="opensuse" +PRETTY="openSUSE" +BASEDOF="-" +HOMEPAGE="https://www.opensuse.org" +DESCRIPTION="The makers choice for sysadmins, developers and desktop users" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://download.opensuse.org/distribution/leap/" | grep 'class="name"' | cut -d '/' -f2 | grep -v 42 | sort -r) aeon microos tumbleweed +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + if [ "${RELEASE}" == "tumbleweed" ]; then + ISO="openSUSE-Tumbleweed-DVD-x86_64-Current.iso" + URL="https://download.opensuse.org/tumbleweed/iso" + elif [ "${RELEASE}" == "microos" ]; then + ISO="openSUSE-MicroOS-DVD-x86_64-Current.iso" + URL="https://download.opensuse.org/tumbleweed/iso" + elif [ "${RELEASE}" == "aeon" ]; then + ISO="opensuse-aeon.x86_64.iso" + URL="https://mirrorcache.opensuse.org/tumbleweed/appliances/iso" + elif [ "${RELEASE}" == 15.0 ] || [ "${RELEASE}" == 15.1 ]; then + ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64.iso" + URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso" + else + ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64-Current.iso" + URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso" + fi + HASH=$(web_pipe "${URL}/${ISO}.sha256" | awk '{if(NR==4) print $0}' | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/oraclelinux b/actions/oraclelinux new file mode 100644 index 0000000000..a26e531eca --- /dev/null +++ b/actions/oraclelinux @@ -0,0 +1,25 @@ +# Template file for 'oraclelinux' +OSNAME="oraclelinux" +PRETTY="Oracle Linux" +BASEDOF="RedHar" +HOMEPAGE="https://www.oracle.com/linux" +DESCRIPTION="Linux with everything required to deploy, optimize, and manage applications on-premises, in the cloud, and at the edge" +CREDENTIALS="-" + +function releases_() { + echo 9.3 9.2 9.1 9.0 8.9 8.8 8.7 8.6 8.5 8.4 7.9 7.8 7.7 +} + +function get_() { + local HASH="" + local ISO="" + local VER_MAJ=${RELEASE::1} + local VER_MIN=${RELEASE:2:1} + local URL="https://yum.oracle.com/ISOS/OracleLinux/OL${VER_MAJ}/u${VER_MIN}/x86_64" + case ${VER_MAJ} in + 7) ISO="OracleLinux-R${VER_MAJ}-U${VER_MIN}-Server-x86_64-dvd.iso";; + *) ISO="OracleLinux-R${VER_MAJ}-U${VER_MIN}-x86_64-dvd.iso";; + esac + HASH=$(web_pipe "https://linux.oracle.com/security/gpg/checksum/OracleLinux-R${VER_MAJ}-U${VER_MIN}-Server-x86_64.checksum" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/parrotsec b/actions/parrotsec new file mode 100644 index 0000000000..d1d2159b47 --- /dev/null +++ b/actions/parrotsec @@ -0,0 +1,26 @@ +# Template file for 'parrotsec' +OSNAME="parrotsec" +PRETTY="Parrot Security" +BASEDOF="Debian" +HOMEPAGE="https://www.parrotsec.org" +DESCRIPTION="Provides a huge arsenal of tools, utilities and libraries that IT and security professionals can use to test and assess the security of their assets in a reliable, compliant and reproducible way" +CREDENTIALS="parrot:parrot" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -E 'href="[[:digit:]]+(\.[[:digit:]]+)+' | sort -Vr | head -n 3 | cut -d\" -f 2) +} + +function editions_() { + echo home htb security +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + ISO="Parrot-${EDITION}-${RELEASE}_amd64.iso" + URL="https://download.parrot.sh/parrot/iso/${RELEASE}" + HASH="$(web_pipe "${URL}/signed-hashes.txt" | grep "${ISO}" | cut -d' ' -f1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/peppermint b/actions/peppermint new file mode 100644 index 0000000000..3a6d497a18 --- /dev/null +++ b/actions/peppermint @@ -0,0 +1,37 @@ +# Template file for 'peppermint' +OSNAME="peppermint" +PRETTY="PeppermintOS" +BASEDOF="Devuan" +HOMEPAGE="https://peppermintos.com" +DESCRIPTION="Provides a user with the opportunity to build the system that best fits their needs. While at the same time providing a functioning OS with minimum hassle out of the box" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function editions_() { + echo devuan-xfce devuan-gnome debian-xfce debian-gnome +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://sourceforge.net/projects/peppermintos/files/isos" + case ${EDITION} in + devuan-xfce) + ISO="PeppermintOS-devuan_64_xfce.iso" + URL="${URL}/XFCE";; + debian-xfce) + ISO="PeppermintOS-Debian-64.iso" + URL="${URL}/XFCE";; + devuan-gnome) + ISO="PeppermintOS-devuan_64_gfb.iso" + URL="${URL}/Gnome_FlashBack";; + debian-gnome) + ISO="PeppermintOS-Debian_64_gfb.iso" + URL="${URL}/Gnome_FlashBack";; + esac + HASH=$(web_pipe "${URL}/${ISO}-sha512.checksum" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/popos b/actions/popos new file mode 100644 index 0000000000..1fe71f959e --- /dev/null +++ b/actions/popos @@ -0,0 +1,24 @@ +# Template file for 'popos' +OSNAME="popos" +PRETTY="Pop!_OS" +BASEDOF="Ubuntu" +HOMEPAGE="https://pop.system76.com" +DESCRIPTION="Operating system for STEM and creative professionals who use their computer as a tool to discover and create" +CREDENTIALS="-" + +function releases_() { + echo 22.04 20.04 +} + +function editions_() { + echo intel nvidia +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + URL=$(web_pipe "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .url) + HASH=$(web_pipe "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .sha_sum) + echo "${URL} ${HASH}" +} diff --git a/actions/porteus b/actions/porteus new file mode 100644 index 0000000000..ea12f336a5 --- /dev/null +++ b/actions/porteus @@ -0,0 +1,26 @@ +# Template file for 'porteus' +OSNAME="porteus" +PRETTY="Porteus" +BASEDOF="Slackware" +HOMEPAGE="http://www.porteus.org" +DESCRIPTION="Complete linux operating system that is optimized to run from CD, USB flash drive, hard drive, or other bootable storage media" +CREDENTIALS="-" + +function releases_() { + echo 5.01 +} + +function editions_() { + echo cinnamon gnome kde lxde lxqt mate openbox xfce +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + edition="${EDITION~~}" + ISO="Porteus-${edition}-v${RELEASE}-x86_64.iso" + URL="https://mirrors.dotsrc.org/porteus/x86_64/Porteus-v${RELEASE}" + HASH=$(web_pipe "${URL}/sha256sums.txt" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/primtux b/actions/primtux new file mode 100644 index 0000000000..ddf830c1fd --- /dev/null +++ b/actions/primtux @@ -0,0 +1,25 @@ +# Template file for 'primtux' +OSNAME="primtux" +PRETTY="PrimTux" +BASEDOF="Ubuntu" +HOMEPAGE="https://primtux.fr" +DESCRIPTION="Complete and customizable GNU/Linux operating system intended for primary school students and suitable even for older hardware" +CREDENTIALS="-" + +function releases_() { + echo 7 +} + +function editions_() { + echo 2022-10 +} + +function get_() { + local HASH="" + local URL="" + local ISO="" + ISO="PrimTux${RELEASE}-amd64-${EDITION}.iso" + URL="https://sourceforge.net/projects/primtux/files/Distribution" + HASH=$(web_pipe "${URL}/${ISO}.md5" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/proxmox-ve b/actions/proxmox-ve new file mode 100644 index 0000000000..6e9acf27f9 --- /dev/null +++ b/actions/proxmox-ve @@ -0,0 +1,22 @@ +# Template file for 'proxmox-ve' +OSNAME="proxmox-ve" +PRETTY="Proxmox VE" +BASEDOF="Debian" +HOMEPAGE="https://proxmox.com/en/proxmox-virtual-environment" +DESCRIPTION="Proxmox Virtual Environment is a complete, open-source server management platform for enterprise virtualization" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe https://enterprise.proxmox.com/iso/ | grep proxmox-ve | grep -E -o '[0-9]+\.[0-9]+-[0-9]\.iso' | uniq | sort -ru | cut -d'.' -f 1-2) +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + ISO="proxmox-ve_${RELEASE}.iso" + URL="https://enterprise.proxmox.com/iso" + HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/pureos b/actions/pureos new file mode 100644 index 0000000000..9712608b04 --- /dev/null +++ b/actions/pureos @@ -0,0 +1,33 @@ +# Template file for 'pureos' +OSNAME="pureos" +PRETTY="PureOS" +BASEDOF="Debian" +HOMEPAGE="https://www.pureos.net" +DESCRIPTION="Fully free/libre and open source GNU/Linux operating system, endorsed by the Free Software Foundation" +CREDENTIALS="-" + +function releases_() { + web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '"' -f 2 | cut -d '-' -f 4 +} + +function editions_() { + echo gnome plasma +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + local PureName= + PureName="$(web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '/' -f 4)" + local PureDate= + PureDate="$(web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '/' -f 6)" + local PureDateSquashed="${PureDate//'-'/}" + edition="${EDITION,,}" + URL="https://downloads.puri.sm/${PureName}/${edition}/${PureDate}" + ISO="pureos-${RELEASE}-${edition}-live-${PureDateSquashed}_amd64.iso" + local IsoTrimmed= + IsoTrimmed="${ISO%.*}" + HASH="$(web_pipe "${URL}/${IsoTrimmed}.checksums_sha256.txt" | grep -m 1 '.iso' | cut -d '.' -f 1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/reactos b/actions/reactos new file mode 100644 index 0000000000..f860b9da45 --- /dev/null +++ b/actions/reactos @@ -0,0 +1,18 @@ +# Template file for 'reactos' +OSNAME="reactos" +PRETTY="ReactOS" +BASEDOF="-" +HOMEPAGE="https://reactos.org" +DESCRIPTION="Imagine running your favorite Windows applications and drivers in an open-source environment you can trust" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function get_() { + local HASH="" + local URL="" + URL="$(web_redirect "https://sourceforge.net/projects/reactos/files/latest/download")" + echo "${URL} ${HASH}" +} diff --git a/actions/rebornos b/actions/rebornos new file mode 100644 index 0000000000..ddc8c0d288 --- /dev/null +++ b/actions/rebornos @@ -0,0 +1,19 @@ +# Template file for 'rebornos' +OSNAME="rebornos" +PRETTY="RebornOS" +BASEDOF="Arch" +HOMEPAGE="https://rebornos.org" +DESCRIPTION="Aiming to make Arch Linux as user friendly as possible by providing interface solutions to things you normally have to do in a terminal" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function get_() { + local HASH="" + local ISO="" + ISO=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".url") + HASH=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".md5") + echo "${ISO} ${HASH}" +} diff --git a/actions/rhino b/actions/rhino new file mode 100644 index 0000000000..f6e87b0d68 --- /dev/null +++ b/actions/rhino @@ -0,0 +1,19 @@ +# Template file for 'rhino' +OSNAME="rhino" +PRETTY="Rhino Linux" +BASEDOF="Ubuntu" +DESCRIPTION="Re-invents the Ubuntu experience as a rolling-release distribution built on a stable desktop environment. With Pacstall & XFCE" +HOMEPAGE="https://rhinolinux.org/" +CREDENTIALS="-" + +function releases_() { + echo 2025.1 +} + +function get_() { + local HASH="" + local ISO="Rhino-Linux-${RELEASE}-amd64.iso" + local URL="https://sourceforge.net/projects/rhino-linux-builder/files/${RELEASE}" + HASH="$(web_pipe "${URL}/${ISO}.sha256/download" | grep "(${ISO}" | cut -d' ' -f1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/rockylinux b/actions/rockylinux new file mode 100644 index 0000000000..6f703b6f58 --- /dev/null +++ b/actions/rockylinux @@ -0,0 +1,28 @@ +# Template file for 'rockylinux' +OSNAME="rockylinux" +PRETTY="Rocky Linux" +BASEDOF="RedHat" +HOMEPAGE="https://rockylinux.org" +DESCRIPTION="Open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "http://dl.rockylinux.org/vault/rocky/" | grep "^.*)-Release-.*"; "\(.e)")' | sort -u) +} + +function get_() { + local HASH="" + local ISO="Solus-${EDITION}-Release-${RELEASE}.iso" + local URL="https://downloads.getsol.us/isos/${RELEASE}" + HASH=$(web_pipe "${URL}/${ISO}.sha256sum" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/sparkylinux b/actions/sparkylinux new file mode 100644 index 0000000000..16d020ecbc --- /dev/null +++ b/actions/sparkylinux @@ -0,0 +1,35 @@ +# Template file for 'sparkylinux' +OSNAME="sparkylinux" +PRETTY="SparkyLinux" +BASEDOF="Debian" +HOMEPAGE="https://sparkylinux.org" +DESCRIPTION="Fast, lightweight and fully customizable operating system which offers several versions for different use cases" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-.*\.iso\"" | cut -d'-' -f2 | sort -ru) +} + +function editions_() { + #shellcheck disable=SC2046,SC2005 + if [ -z "${RELEASE}" ]; then + echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-.*\.iso\"" | cut -d'-' -f4 | cut -d'.' -f1 | sort -u) + else + echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-${RELEASE}-.*\.iso\"" | cut -d'-' -f4 | cut -d'.' -f1 | sort -u) + fi +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + ISO="sparkylinux-${RELEASE}-x86_64-${EDITION}.iso" + case ${EDITION} in + minimalcli) URL="https://sourceforge.net/projects/sparkylinux/files/cli";; + minimalgui) URL="https://sourceforge.net/projects/sparkylinux/files/base";; + *) URL="https://sourceforge.net/projects/sparkylinux/files/${EDITION}";; + esac + HASH=$(web_pipe "${URL}/${ISO}.allsums.txt" | head -n 2 | grep 'iso' | cut -d' ' -f1) + echo "${URL}/${ISO}" "${HASH}" +} diff --git a/actions/spirallinux b/actions/spirallinux new file mode 100644 index 0000000000..7adecd2e34 --- /dev/null +++ b/actions/spirallinux @@ -0,0 +1,23 @@ +# Template file for 'spirallinux' +OSNAME="spirallinux" +PRETTY="Spiral Linux" +BASEDOF="Debian" +HOMEPAGE="https://spirallinux.github.io" +DESCRIPTION="Selection of Linux spins built from Debian GNU/Linux, with a focus on simplicity and out-of-the-box usability across all the major desktop environments" +CREDENTIALS="-" + +function releases_() { + echo latest +} + +function editions_() { + echo Plasma XFCE Mate LXQt Gnome Budgie Cinnamon Builder +} + +function get_() { + local HASH="" + local ISO="SpiralLinux_${EDITION}_12.231005_x86-64.iso" + local URL="https://sourceforge.net/projects/spirallinux/files/12.231005" + HASH=$(web_pipe 'https://sourceforge.net/projects/spirallinux/rss?path=/' | grep "${ISO}" | grep 'md5' | cut -d'<' -f3 | cut -d'>' -f2) + echo "${URL}/${ISO}" "${HASH}" +} diff --git a/actions/tails b/actions/tails new file mode 100644 index 0000000000..fc38c68e6b --- /dev/null +++ b/actions/tails @@ -0,0 +1,21 @@ +# Template file for 'tails' +OSNAME="tails" +PRETTY="Tails" +BASEDOF="Debian" +HOMEPAGE="https://tails.net" +DESCRIPTION="Portable operating system that protects against surveillance and censorship" +CREDENTIALS="-" + +function releases_() { + echo stable +} + +function get_() { + local JSON="" + local HASH="" + local URL="" + JSON="$(web_pipe "https://tails.boum.org/install/v2/Tails/amd64/${RELEASE}/latest.json")" + URL=$(echo "${JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].url') + HASH=$(echo "${JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].sha256') + echo "${URL} ${HASH}" +} diff --git a/actions/tinycore b/actions/tinycore new file mode 100644 index 0000000000..ca310b827f --- /dev/null +++ b/actions/tinycore @@ -0,0 +1,29 @@ +# Template file for 'tinycore' +OSNAME="tinycore" +PRETTY="Tiny Core Linux" +BASEDOF="-" +HOMEPAGE="http://www.tinycorelinux.net" +DESCRIPTION="Highly modular based system with community build extensions" +CREDENTIALS="-" + +function releases_() { + echo 15 14 +} + +function editions_() { + echo Core TinyCore CorePlus CorePure64 TinyCorePure64 +} + +function get_() { + local ARCH="x86" + local HASH="" + local ISO="${EDITION}-${RELEASE}.0.iso" + case "${EDITION}" in + *Pure*) ARCH+="_64";; + esac + # tinycorelinux.net not stable enough + #local URL="http://www.tinycorelinux.net/${RELEASE}.x/${ARCH}/release" + local URL="https://distro.ibiblio.org/tinycorelinux/${RELEASE}.x/${ARCH}/release" + HASH=$(web_pipe "${URL}/${ISO}.md5.txt" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/trisquel b/actions/trisquel new file mode 100644 index 0000000000..8989ee4075 --- /dev/null +++ b/actions/trisquel @@ -0,0 +1,29 @@ +# Template file for 'trisquel' +OSNAME="trisquel" +PRETTY="Trisquel" +BASEDOF="Ubuntu" +HOMEPAGE="https://trisquel.info" +DESCRIPTION="Fully free operating system for home users, small enterprises and educational centers" +CREDENTIALS="-" + +function releases_() { + echo 11.0 10.0.1 +} + +function editions_() { + echo mate lxde kde sugar +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://mirrors.ocf.berkeley.edu/trisquel-images" + case ${EDITION} in + mate) ISO="trisquel_${RELEASE}_amd64.iso";; + lxde) ISO="trisquel-mini_${RELEASE}_amd64.iso";; + kde) ISO="triskel_${RELEASE}_amd64.iso";; + sugar) ISO="trisquel-sugar_${RELEASE}_amd64.iso";; + esac + HASH=$(web_pipe "${URL}/${ISO}.sha1" | grep "${ISO}" | cut -d' ' -f1) + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/truenas-core b/actions/truenas-core new file mode 100644 index 0000000000..172bed0893 --- /dev/null +++ b/actions/truenas-core @@ -0,0 +1,20 @@ +# Template file for 'truenas-core' +OSNAME="truenas-core" +PRETTY="TrueNAS Core" +BASEDOF="FreeBSD" +HOMEPAGE="https://www.truenas.com/truenas-core" +DESCRIPTION="World’s most popular storage OS because it gives you the power to build your own professional-grade storage system to use in a variety of data-intensive applications without any software costs" +CREDENTIALS="-" + +function releases_() { + echo 13 +} + +function get_() { + local ISO="" + local URL="" + local DLINFO="https://www.truenas.com/download-truenas-core/" + URL=$(web_pipe "${DLINFO}" | grep -o "\"https://.*${RELEASE}.*\.iso\"" | cut -d'"' -f 2) + HASH=$(web_pipe "${URL}".sha256 | cut -d' ' -f1) + echo "${URL} ${HASH}" +} diff --git a/actions/truenas-scale b/actions/truenas-scale new file mode 100644 index 0000000000..996a248129 --- /dev/null +++ b/actions/truenas-scale @@ -0,0 +1,21 @@ +# Template file for 'truenas-scale' +OSNAME="truenas-scale" +PRETTY="TrueNAS Scale" +BASEDOF="Debian" +HOMEPAGE="https://www.truenas.com/truenas-scale" +DESCRIPTION="Open Source Hyperconverged Infrastructure (HCI) solution. In addition to powerful scale-out storage capabilities, SCALE adds Linux Containers and VMs (KVM) so apps run closer to data" +CREDENTIALS="-" + +function releases_() { + echo 24 +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + local DLINFO="https://www.truenas.com/download-truenas-scale/" + URL=$(web_pipe "${DLINFO}" | grep -o "\"https://.*${RELEASE}.*\.iso\"" | cut -d'"' -f 2) + HASH=$(web_pipe "${URL}.sha256" | cut -d' ' -f1) + echo "${URL} ${HASH}" +} diff --git a/actions/tuxedo-os b/actions/tuxedo-os new file mode 100644 index 0000000000..a36aa74694 --- /dev/null +++ b/actions/tuxedo-os @@ -0,0 +1,20 @@ +# Template file for 'tuxedo-os' +OSNAME="tuxedo-os" +PRETTY="Tuxedo OS" +BASEDOF="Ubuntu" +HOMEPAGE="https://www.tuxedocomputers.com" +DESCRIPTION="KDE Ubuntu LTS designed to go with their Linux hardware" +CREDENTIALS="-" + +function releases_() { + echo current +} + +function get_() { + local HASH="" + local ISO="" + local URL="https://os.tuxedocomputers.com" + ISO="$(web_pipe "https://os.tuxedocomputers.com/" | grep -m 1 current.iso | cut -d '=' -f 4 | cut -d '"' -f 2)" + HASH="$(web_pipe "https://os.tuxedocomputers.com/checksums/${ISO}.sha256" | cut -d ' ' -f 1)" + echo "${URL}/${ISO} ${HASH}" +} diff --git a/actions/ubuntu b/actions/ubuntu new file mode 100644 index 0000000000..d03b707650 --- /dev/null +++ b/actions/ubuntu @@ -0,0 +1,162 @@ +# Template file for 'ubuntu' +case "${OS}" in + ubuntu) + OSNAME="ubuntu" + PRETTY="Ubuntu" + BASEDOF="Debian" + HOMEPAGE="https://ubuntu.com" + DESCRIPTION="Complete desktop Linux operating system, freely available with both community and professional support" + CREDENTIALS="-";; + edubuntu) + # Template file for 'edubuntu' + OSNAME="edubuntu" + PRETTY="Edubuntu" + BASEDOF="Ubuntu" + HOMEPAGE="https://www.edubuntu.org" + DESCRIPTION="Stable, secure and privacy concious option for schools" + CREDENTIALS="-";; + kubuntu) + # Template file for 'kubuntu' + OSNAME="kubuntu" + PRETTY="Kubuntu" + BASEDOF="Ubuntu" + HOMEPAGE="https://kubuntu.org" + DESCRIPTION="Free, complete, and open-source alternative to Microsoft Windows and Mac OS X which contains everything you need to work, play, or share" + CREDENTIALS="-";; + lubuntu) + # Template file for 'lubuntu' + OSNAME="lubuntu" + PRETTY="Lubuntu" + BASEDOF="Ubuntu" + HOMEPAGE="https://lubuntu.me" + DESCRIPTION="Complete Operating System that ships the essential apps and services for daily use: office applications, PDF reader, image editor, music and video players, etc. Using lightwave lxde/lxqt" + CREDENTIALS="-";; + xubuntu) + # Template file for 'xubuntu' + OSNAME="xubuntu" + PRETTY="Xubuntu" + BASEDOF="Ubuntu" + HOMEPAGE="https://xubuntu.org" + DESCRIPTION="Elegant and easy to use operating system. Xubuntu comes with Xfce, which is a stable, light and configurable desktop environment" + CREDENTIALS="-";; + ubuntu-budgie) + # Template file for 'ubuntu-budgie' + OSNAME="ubuntu-budgie" + PRETTY="Ubuntu Budgie" + BASEDOF="Ubuntu" + HOMEPAGE="https://ubuntubudgie.org" + DESCRIPTION="Community developed distribution, integrating the Budgie Desktop Environment with Ubuntu at its core" + CREDENTIALS="-";; + ubuntu-cinnamon) + # Template file for 'ubuntu-cinnamon' + OSNAME="ubuntu-cinnamon" + PRETTY="Ubuntu Cinnamon" + BASEDOF="Ubuntu" + HOMEPAGE="https://ubuntucinnamon.org" + DESCRIPTION="Community-driven, featuring Linux Mint’s Cinnamon Desktop with Ubuntu at the core, packed fast and full of features, here is the most traditionally modern desktop you will ever love" + CREDENTIALS="-";; + ubuntu-kylin) + # Template file for 'ubuntu-kylin' + OSNAME="ubuntu-kylin" + PRETTY="Ubuntu Kylin" + BASEDOF="Ubuntu" + HOMEPAGE="https://ubuntukylin.com" + DESCRIPTION="Universal desktop operating system for personal computers, laptops, and embedded devices. It is dedicated to bringing a smarter user experience to users all over the world" + CREDENTIALS="-";; + ubuntu-mate) + # Template file for 'ubuntu-mate' + OSNAME="ubuntu-mate" + PRETTY="Ubuntu Mate" + BASEDOF="Ubuntu" + HOMEPAGE="https://ubuntu-mate.org" + DESCRIPTION="Stable, easy-to-use operating system with a configurable desktop environment. It is ideal for those who want the most out of their computers and prefer a traditional desktop metaphor. Using Mate desktop" + CREDENTIALS="-";; + ubuntu-unity) + # Template file for 'ubuntu-unity' + OSNAME="ubuntu-unity" + PRETTY="Ubuntu Unity" + BASEDOF="Ubuntu" + HOMEPAGE="https://ubuntuunity.org" + DESCRIPTION="Flavor of Ubuntu featuring the Unity7 desktop environment (the default desktop environment used by Ubuntu from 2010-2017)" + CREDENTIALS="-";; + ubuntustudio) + # Template file for 'ubuntustudio' + OSNAME="ubuntustudio" + PRETTY="UbuntuStudio" + BASEDOF="Ubuntu" + HOMEPAGE="https://ubuntustudio.org" + DESCRIPTION="Comes preinstalled with a selection of the most common free multimedia applications available, and is configured for best performance for various purposes: Audio, Graphics, Video, Photography and Publishing" + CREDENTIALS="-";; +esac + +function releases_() { + local VERSION_DATA="" + local SUPPORTED_VERSIONS=() + VERSION_DATA="$(IFS=$'\n' web_pipe https://api.launchpad.net/devel/ubuntu/series | jq -r '.entries[]')" + # shellcheck disable=SC2207 + SUPPORTED_VERSIONS=($(IFS=$'\n' jq -r 'select(.status=="Supported" or .status=="Current Stable Release") | .version' <<<"${VERSION_DATA}" | sort)) + case "${OS}" in + ubuntu) + echo "${SUPPORTED_VERSIONS[@]}" daily-live;; + kubuntu|lubuntu|ubuntukylin|ubuntu-mate|ubuntustudio|xubuntu) + # after 16.04 + echo "${SUPPORTED_VERSIONS[@]:1}" daily-live;; + ubuntu-budgie) + # after 18.04 + echo "${SUPPORTED_VERSIONS[@]:2}" daily-live;; + edubuntu|ubuntu-unity|ubuntucinnamon) + # after 23.10 + echo "${SUPPORTED_VERSIONS[@]:5}" daily-live;; + esac +} + +function get_() { + local ISO="" + local HASH="" + local URL="" + local DATA="" + + if [[ "${RELEASE}" == "daily"* ]] && [ "${OS}" == "ubuntustudio" ]; then + # Ubuntu Studio daily-live images are in the dvd directory + RELEASE="dvd" + fi + if [[ "${RELEASE}" == "jammy-daily" ]]; then + if [[ "${OS}" == "ubuntustudio" ]]; then + URL="https://cdimage.ubuntu.com/${OS}/jammy/dvd/current" + else + URL="https://cdimage.ubuntu.com/${OS}/jammy/daily-live/current" + fi + VM_PATH="${OS}-jammy-live" + elif [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then + URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current" + VM_PATH="${OS}-${RELEASE}" + elif [ "${OS}" == "ubuntu" ]; then + URL="https://releases.ubuntu.com/${RELEASE}" + else + URL="https://cdimage.ubuntu.com/${OS}/releases/${RELEASE}/release" + fi + if web_check "${URL}/SHA256SUMS"; then + DATA=$(web_pipe "${URL}/SHA256SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac") + ISO=$(cut -d'*' -f2 <<<"${DATA}" | sed '1q;d') + HASH=$(cut -d' ' -f1 <<<"${DATA}" | sed '1q;d') + else + DATA=$(web_pipe "${URL}/MD5SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac") + ISO=$(cut -d'*' -f2 <<<"${DATA}") + HASH=$(cut -d' ' -f1 <<<"${DATA}") + fi + if [ -z "${ISO}" ] || [ -z "${HASH}" ]; then + echo "${PRETTY} ${RELEASE} is currently unavailable. Please select other OS/Release combination" + exit 1 + fi + if [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then + zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-devel.iso" + make_vm_config "${OS}-devel.iso" + elif [[ "${RELEASE}" == "jammy-daily" ]]; then + zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-jammy-live.iso" + make_vm_config "${OS}-jammy-live.iso" + else + web_get "${URL}/${ISO}" "${VM_PATH}" + check_hash "${ISO}" "${HASH}" + make_vm_config "${ISO}" + fi +} diff --git a/actions/ubuntu-server b/actions/ubuntu-server new file mode 100644 index 0000000000..a6dfe51bf6 --- /dev/null +++ b/actions/ubuntu-server @@ -0,0 +1,49 @@ +# Template file for 'ubuntu-server' +OSNAME="ubuntu-server" +PRETTY="Ubuntu Server" +BASEDOF="Debian" +HOMEPAGE="https://ubuntu.com/server" +DESCRIPTION="Brings economic and technical scalability to your datacentre, public or private. Whether you want to deploy an OpenStack cloud, a Kubernetes cluster or a 50,000-node render farm, Ubuntu Server delivers the best value scale-out performance available" +CREDENTIALS="-" + +function releases_() { + local ALL_VERSIONS=() + # shellcheck disable=SC2207 + ALL_VERSIONS=($(IFS=$'\n' web_pipe http://releases.ubuntu.com/streams/v1/com.ubuntu.releases:ubuntu-server.json | jq -r '.products[] | select(.arch=="amd64") | .version' | sort -rV)) + echo daily-live "${ALL_VERSIONS[@]}" +} + +function get_() { + local HASH="" + local ISO="" + local NAME="live-server" + local URL="" + + if [[ "${RELEASE}" == "daily"* ]]; then + URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current" + else + URL="https://releases.ubuntu.com/${RELEASE}" + fi + + case "${RELEASE}" in + 14*|16*) NAME="server";; + esac + + if web_check "${URL}/SHA256SUMS"; then + DATA=$(web_pipe "${URL}/SHA256SUMS" | grep "${NAME}" | grep amd64 | grep iso) + ISO=$(cut -d'*' -f2 <<<"${DATA}") + HASH=$(cut -d' ' -f1 <<<"${DATA}") + else + DATA=$(web_pipe "${URL}/MD5SUMS" | grep "${NAME}" | grep amd64 | grep iso) + ISO=$(cut -d' ' -f3 <<<"${DATA}") + HASH=$(cut -d' ' -f1 <<<"${DATA}") + fi + if [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then + zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-devel.iso" + make_vm_config "${OS}-devel.iso" + else + web_get "${URL}/${ISO}" "${VM_PATH}" + check_hash "${ISO}" "${HASH}" + make_vm_config "${ISO}" + fi +} diff --git a/actions/vanillaos b/actions/vanillaos new file mode 100644 index 0000000000..1f4d3858e8 --- /dev/null +++ b/actions/vanillaos @@ -0,0 +1,22 @@ +# Template file for 'vanillaos' +OSNAME="vanillaos" +PRETTY="Vanilla OS" +BASEDOF="Ubuntu" +HOMEPAGE="https://vanillaos.org" +DESCRIPTION="Designed to be a reliable and productive operating system for your daily work" +CREDENTIALS="-" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://api.github.com/repos/Vanilla-OS/live-iso/releases" | grep 'download_url' | cut -d'/' -f8 | sort -ru) +} + +function get_() { + local HASH="" + local HASH_URL="" + local ISO="" + ISO=$(web_pipe "https://api.github.com/repos/Vanilla-OS/live-iso/releases" | grep 'download_url' | grep "${RELEASE}" | head -n 1 | cut -d'"' -f4) + HASH_URL="${ISO//.iso/.sha256.txt}" + HASH=$(web_pipe "${HASH_URL}" | cut -d' ' -f1) + echo "${ISO} ${HASH}" +} diff --git a/actions/void b/actions/void new file mode 100644 index 0000000000..7d499150ea --- /dev/null +++ b/actions/void @@ -0,0 +1,31 @@ +# Template file for 'void' +OSNAME="void" +PRETTY="Void Linux" +BASEDOF="-" +HOMEPAGE="https://voidlinux.org" +DESCRIPTION="General purpose operating system. Its package system allows you to quickly install, update and remove software; software is provided in binary packages or can be built directly from sources" +CREDENTIALS="anon:voidlinux root:voidlinux" + +function releases_() { + #shellcheck disable=SC2046,SC2005 + echo $(web_pipe "https://repo-default.voidlinux.org/live/" | grep "^/dev/null + + cat << 'EOF' > "${1}/unattended/autounattend.xml" + + + + + + false + + + * + + + + + + true + + + 1 + + + + + + true + + + * + + Quickemu Project + Quickemu + 24/7 + + Quickemu Project + https://github.com/quickemu-project/quickemu/issues + + Quickemu Project + W269N-WFGWX-YVC9B-4J6C9-T83GX + + + 0 + + + + + + + false + + + + 0 + true + + + + 1 + Primary + 256 + + + + 2 + EFI + 128 + + + + 3 + MSR + 128 + + + + 4 + Primary + true + + + + + + 1 + 1 + + NTFS + DE94BBA4-06D1-4D40-A16A-BFD50179D6AC + + + + 2 + 2 + + FAT32 + + + + 3 + 3 + + + + 4 + 4 + + C + NTFS + + + + + + true + Never + + + + + 0 + 4 + + false + + + + + 1 + reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t REG_DWORD /d 0x00000001 /f + + + 2 + reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 0x00000001 /f + + + 3 + reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 0x00000001 /f + + + 4 + reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 0x00000001 /f + + + + false + Never + + + true + Quickemu + Quickemu Project + + + W269N-WFGWX-YVC9B-4J6C9-T83GX + Never + + + + + + + + + E:\qemufwcfg\w10\amd64 + + + E:\vioinput\w10\amd64 + + + E:\vioscsi\w10\amd64 + + + E:\viostor\w10\amd64 + + + E:\vioserial\w10\amd64 + + + E:\qxldod\w10\amd64 + + + E:\amd64\w10 + + + E:\viogpudo\w10\amd64 + + + E:\viorng\w10\amd64 + + + E:\NetKVM\w10\amd64 + + + E:\viofs\w10\amd64 + + + E:\Balloon\w10\amd64 + + + + + + + + + + quickemu + true</PlainText> + </Password> + <Enabled>true</Enabled> + <Username>Quickemu</Username> + </AutoLogon> + <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> + <OOBE> + <HideEULAPage>true</HideEULAPage> + <HideLocalAccountScreen>true</HideLocalAccountScreen> + <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> + <HideOnlineAccountScreens>true</HideOnlineAccountScreens> + <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> + <NetworkLocation>Home</NetworkLocation> + <ProtectYourPC>3</ProtectYourPC> + <SkipUserOOBE>true</SkipUserOOBE> + <SkipMachineOOBE>true</SkipMachineOOBE> + <VMModeOptimizations> + <SkipWinREInitialization>true</SkipWinREInitialization> + </VMModeOptimizations> + </OOBE> + <UserAccounts> + <LocalAccounts> + <LocalAccount wcm:action="add"> + <Password> + <Value>quickemu</Value> + <PlainText>true</PlainText> + </Password> + <Description>Quickemu</Description> + <DisplayName>Quickemu</DisplayName> + <Group>Administrators</Group> + <Name>Quickemu</Name> + </LocalAccount> + </LocalAccounts> + </UserAccounts> + <RegisteredOrganization>Quickemu Project</RegisteredOrganization> + <RegisteredOwner>Quickemu</RegisteredOwner> + <FirstLogonCommands> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i E:\guest-agent\qemu-ga-x86_64.msi /quiet /passive /qn</CommandLine> + <Description>Install Virtio Guest Agent</Description> + <Order>1</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i F:\spice-webdavd-x64-latest.msi /quiet /passive /qn</CommandLine> + <Description>Install spice-webdavd file sharing agent</Description> + <Order>2</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i F:\UsbDk_1.0.22_x64.msi /quiet /passive /qn</CommandLine> + <Description>Install usbdk USB sharing agent</Description> + <Order>3</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i F:\spice-vdagent-x64-0.10.0.msi /quiet /passive /qn</CommandLine> + <Description>Install spice-vdagent SPICE agent</Description> + <Order>4</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>Cmd /c POWERCFG -H OFF</CommandLine> + <Description>Disable Hibernation</Description> + <Order>5</Order> + </SynchronousCommand> + </FirstLogonCommands> + </component> + </settings> +</unattend> +EOF + + +echo "Downloading Spice drivers..." +web_get https://www.spice-space.org/download/windows/spice-webdavd/spice-webdavd-x64-latest.msi "${VM_PATH}/unattended" +web_get https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.10.0/spice-vdagent-x64-0.10.0.msi "${VM_PATH}/unattended" +web_get https://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.22_x64.msi "${VM_PATH}/unattended" + +echo "Making unattended.iso" +mkisofs -quiet -l -o "${VM_PATH}/unattended.iso" "${VM_PATH}/unattended/" +} + +function handle_curl_error() { + local error_code="$1" + local fatal_error_action=2 + case "$error_code" in + 6) + echo "Failed to resolve Microsoft servers! Is there an Internet connection? Exiting..." + return "$fatal_error_action" + ;; + 7) + echo "Failed to contact Microsoft servers! Is there an Internet connection or is the server down?" + ;; + 8) + echo "Microsoft servers returned a malformed HTTP response!" + ;; + 22) + echo "Microsoft servers returned a failing HTTP status code!" + ;; + 23) + echo "Failed at writing Windows media to disk! Out of disk space or permission error? Exiting..." + return "$fatal_error_action" + ;; + 26) + echo "Ran out of memory during download! Exiting..." + return "$fatal_error_action" + ;; + 36) + echo "Failed to continue earlier download!" + ;; + 63) + echo "Microsoft servers returned an unexpectedly large response!" + ;; + # POSIX defines exit statuses 1-125 as usable by us + # https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_02 + $((error_code <= 125))) + # Must be some other server or network error (possibly with this specific request/file) + # This is when accounting for all possible errors in the curl manual assuming a correctly formed curl command and an HTTP(S) request, using only the curl features we're using, and a sane build + echo "Miscellaneous server or network error!" + ;; + 126 | 127 ) + echo "Curl command not found! Please install curl and try again. Exiting..." + return "$fatal_error_action" + ;; + # Exit statuses are undefined by POSIX beyond this point + *) + case "$(kill -l "$error_code")" in + # Signals defined to exist by POSIX: + # https://pubs.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html + INT) + echo "Curl was interrupted!" + ;; + # There could be other signals but these are most common + SEGV | ABRT ) + echo "Curl crashed! Failed exploitation attempt? Please report any core dumps to curl developers. Exiting..." + return "$fatal_error_action" + ;; + *) + echo "Curl terminated due to a fatal signal!" + ;; + esac + esac + return 1 +} + +function download_windows_server() { + local iso_download_page_html="" + # Copyright (C) 2024 Elliot Killick <contact@elliotkillick.com> + # This function is adapted from the Mido project: + # https://github.com/ElliotKillick/Mido + + # Download enterprise evaluation Windows versions + local windows_version="$1" + local enterprise_type="$2" + local PRETTY_RELEASE="" + + case "${RELEASE}" in + *) PRETTY_RELEASE="${RELEASE}";; + esac + + echo "Downloading $(pretty_name "${OS}") ${PRETTY_RELEASE} (${I18N})" + + local url="https://www.microsoft.com/en-us/evalcenter/download-$windows_version" + + echo " - Parsing download page: ${url}" + iso_download_page_html="$(curl --disable --silent --location --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url")" || { + handle_curl_error $? + return $? + } + + if ! [ "$iso_download_page_html" ]; then + # This should only happen if there's been some change to where this download page is located + echo " - Windows server download page gave us an empty response" + return 1 + fi + + local CULTURE="" + local COUNTRY="" + case "${I18N}" in + "English (Great Britain)") + CULTURE="en-gb" + COUNTRY="GB";; + "Chinese (Simplified)") + CULTURE="zh-cn" + COUNTRY="CN";; + "Chinese (Traditional)") + CULTURE="zh-tw" + COUNTRY="TW";; + "French") + CULTURE="fr-fr" + COUNTRY="FR";; + "German") + CULTURE="de-de" + COUNTRY="DE";; + "Italian") + CULTURE="it-it" + COUNTRY="IT";; + "Japanese") + CULTURE="ja-jp" + COUNTRY="JP";; + "Korean") + CULTURE="ko-kr" + COUNTRY="KR";; + "Portuguese (Brazil)") + CULTURE="pt-br" + COUNTRY="BR";; + "Spanish") + CULTURE="es-es" + COUNTRY="ES";; + "Russian") + CULTURE="ru-ru" + COUNTRY="RU";; + *) + CULTURE="en-us" + COUNTRY="US";; + esac + + echo " - Getting download link.." + iso_download_links="$(echo "$iso_download_page_html" | grep -o "https://go.microsoft.com/fwlink/p/?LinkID=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${CULTURE}&country=${COUNTRY}")" || { + # This should only happen if there's been some change to the download endpoint web address + echo " - Windows server download page gave us no download link" + return 1 + } + + # Limit untrusted size for input validation + iso_download_links="$(echo "$iso_download_links" | head -c 1024)" + + case "$enterprise_type" in + # Select x64 download link + "enterprise") iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;; + # Select x64 LTSC download link + "ltsc") iso_download_link=$(echo "$iso_download_links" | head -n 4 | tail -n 1) ;; + *) iso_download_link="$iso_download_links" ;; + esac + + # Follow redirect so proceeding log message is useful + # This is a request we make this Fido doesn't + # We don't need to set "--max-filesize" here because this is a HEAD request and the output is to /dev/null anyway + iso_download_link="$(curl --disable --silent --location --output /dev/null --silent --write-out "%{url_effective}" --head --fail --proto =https --tlsv1.2 --http1.1 -- "$iso_download_link")" || { + # This should only happen if the Microsoft servers are down + handle_curl_error $? + return $? + } + + # Limit untrusted size for input validation + iso_download_link="$(echo "$iso_download_link" | head -c 1024)" + + echo " - URL: $iso_download_link" + + # Download ISO + FILE_NAME="${iso_download_link##*/}" + web_get "${iso_download_link}" "${VM_PATH}" "${FILE_NAME}" + OS="windows-server" +} + +function download_windows_workstation() { + local HASH="" + local session_id="" + local iso_download_page_html="" + local product_edition_id="" + local language_skuid_table_json="" + local sku_id="" + local iso_download_link_json="" + local iso_download_link="" + + echo "Downloading Windows ${RELEASE} (${I18N})" + # This function is adapted from the Mido project: + # https://github.com/ElliotKillick/Mido + # Download newer consumer Windows versions from behind gated Microsoft API + + # Either 10, or 11 + local windows_version="$1" + + local url="https://www.microsoft.com/en-us/software-download/windows$windows_version" + case "$windows_version" in + 10) url="${url}ISO";; + esac + + local user_agent="Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0" + session_id="$(uuidgen)" + + # Get product edition ID for latest release of given Windows version + # Product edition ID: This specifies both the Windows release (e.g. 22H2) and edition ("multi-edition" is default, either Home/Pro/Edu/etc., we select "Pro" in the answer files) in one number + # This is the *only* request we make that Fido doesn't. Fido manually maintains a list of all the Windows release/edition product edition IDs in its script (see: $WindowsVersions array). This is helpful for downloading older releases (e.g. Windows 10 1909, 21H1, etc.) but we always want to get the newest release which is why we get this value dynamically + # Also, keeping a "$WindowsVersions" array like Fido does would be way too much of a maintenance burden + # Remove "Accept" header that curl sends by default + echo " - Parsing download page: ${url}" + iso_download_page_html="$(curl --disable --silent --user-agent "$user_agent" --header "Accept:" --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url")" || { + handle_curl_error $? + return $? + } + + echo -n " - Getting Product edition ID: " + # tr: Filter for only numerics to prevent HTTP parameter injection + # head -c was recently added to POSIX: https://austingroupbugs.net/view.php?id=407 + product_edition_id="$(echo "$iso_download_page_html" | grep -Eo '<option value="[0-9]+">Windows' | cut -d '"' -f 2 | head -n 1 | tr -cd '0-9' | head -c 16)" + echo "$product_edition_id" + + echo " - Permit Session ID: $session_id" + # Permit Session ID + # "org_id" is always the same value + curl --disable --silent --output /dev/null --user-agent "$user_agent" --header "Accept:" --max-filesize 100K --fail --proto =https --tlsv1.2 --http1.1 -- "https://vlscppe.microsoft.com/tags?org_id=y6jn8c31&session_id=$session_id" || { + # This should only happen if there's been some change to how this API works + handle_curl_error $? + return $? + } + + local profile="606624d44113" + + echo -n " - Getting language SKU ID: " + # Get language -> skuID association table + language_skuid_table_json="$(curl --disable -s --fail --max-filesize 100K --proto =https --tlsv1.2 --http1.1 "https://www.microsoft.com/software-download-connector/api/getskuinformationbyproductedition?profile=${profile}&ProductEditionId=${product_edition_id}&SKU=undefined&friendlyFileName=undefined&Locale=en-US&sessionID=${session_id}")" || { + handle_curl_error $? + return $? + } + + sku_id="$(echo "${language_skuid_table_json}" | jq -r '.Skus[] | select(.LocalizedLanguage=="'"${I18N}"'" or .Language=="'"${I18N}"'").Id')" + echo "$sku_id" + + echo " - Getting ISO download link..." + # Get ISO download link + # If any request is going to be blocked by Microsoft it's always this last one (the previous requests always seem to succeed) + # --referer: Required by Microsoft servers to allow request + iso_download_link_json="$(curl --disable -s --fail --referer "$url" "https://www.microsoft.com/software-download-connector/api/GetProductDownloadLinksBySku?profile=${profile}&productEditionId=undefined&SKU=${sku_id}&friendlyFileName=undefined&Locale=en-US&sessionID=${session_id}")" + + local failed=0 + + if ! [ "$iso_download_link_json" ]; then + # This should only happen if there's been some change to how this API works + echo " - Microsoft servers gave us an empty response to our request for an automated download." + failed=1 + fi + + if echo "$iso_download_link_json" | grep -q "Sentinel marked this request as rejected."; then + echo " - WARNING! Microsoft blocked the automated download request based on your IP address." + failed=1 + fi + + if [ ${failed} -eq 1 ]; then + echo " Manually download the Windows ${windows_version} ISO using a web browser from: ${url}" + echo " Save the downloaded ISO to: $(realpath "${VM_PATH}")" + echo " Update the config file to reference the downloaded ISO: ./${VM_PATH}.conf" + echo " Continuing with the VM creation process..." + return 1 + fi + + # Filter for 64-bit ISO download URL + iso_download_link="$(echo "${iso_download_link_json}" | jq -r '.ProductDownloadOptions[].Uri' | grep x64)" + + if ! [ "$iso_download_link" ]; then + # This should only happen if there's been some change to the download endpoint web address + echo " - Microsoft servers gave us no download link to our request for an automated download. Please manually download this ISO in a web browser: $url" + return 1 + fi + + echo " - URL: ${iso_download_link%%\?*}" + + # Download ISO + FILE_NAME="$(echo "$iso_download_link" | cut -d'?' -f1 | cut -d'/' -f5)" + web_get "${iso_download_link}" "${VM_PATH}" "${FILE_NAME}" +} + +function get_windows() { + if [ "${OS}" == "windows-server" ]; then + download_windows_server "windows-server-${RELEASE}" + else + download_windows_workstation "${RELEASE}" + fi + + if [ "${OPERATION}" == "download" ]; then + exit 0 + fi + + echo "Downloading VirtIO drivers..." + web_get "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" "${VM_PATH}" + + rm -f "${VM_PATH}/unattended.iso" + case ${RELEASE} in + 10|11) + unattended_windows "${VM_PATH}" + ;; + esac + + if [ -n "${FILE_NAME}" ]; then + make_vm_config "${FILE_NAME}" "virtio-win.iso" + else + make_vm_config "windows-${RELEASE}.iso" "virtio-win.iso" + fi +} diff --git a/actions/windows-server b/actions/windows-server new file mode 100644 index 0000000000..6f367ea7a9 --- /dev/null +++ b/actions/windows-server @@ -0,0 +1,620 @@ +# Template file for 'windows-server' +OSNAME="windows-server" +PRETTY="Windows Server" +BASEDOF="-" +HOMEPAGE="https://www.microsoft.com/en-us/windows-server" +DESCRIPTION="Platform for building an infrastructure of connected applications, networks, and web services" +CREDENTIALS="-" +RELEASES="2022 2019 2016" + +function releases_() { + echo 2022 2019 2016 +} + +function languages_windows-server() { + I18NS=("English (United States)" "Chinese (Simplified)" "French" "German" "Italian" "Japanese" "Russian" "Spanish") +} + +function unattended_windows() { + mkdir -p "${1}/unattended" 2>/dev/null + + cat << 'EOF' > "${1}/unattended/autounattend.xml" +<?xml version="1.0" encoding="utf-8"?> +<unattend xmlns="urn:schemas-microsoft-com:unattend" + xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <!-- + For documentation on components: + https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/ + --> + <settings pass="offlineServicing"> + <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <EnableLUA>false</EnableLUA> + </component> + <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <ComputerName>*</ComputerName> + </component> + </settings> + + <settings pass="generalize"> + <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> + <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> + </component> + <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SkipRearm>1</SkipRearm> + </component> + </settings> + + <settings pass="specialize"> + <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SkipAutoActivation>true</SkipAutoActivation> + </component> + <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <ComputerName>*</ComputerName> + <OEMInformation> + <Manufacturer>Quickemu Project</Manufacturer> + <Model>Quickemu</Model> + <SupportHours>24/7</SupportHours> + <SupportPhone></SupportPhone> + <SupportProvider>Quickemu Project</SupportProvider> + <SupportURL>https://github.com/quickemu-project/quickemu/issues</SupportURL> + </OEMInformation> + <OEMName>Quickemu Project</OEMName> + <ProductKey>W269N-WFGWX-YVC9B-4J6C9-T83GX</ProductKey> + </component> + <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <CEIPEnabled>0</CEIPEnabled> + </component> + </settings> + + <settings pass="windowsPE"> + <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <Diagnostics> + <OptIn>false</OptIn> + </Diagnostics> + <DiskConfiguration> + <Disk wcm:action="add"> + <DiskID>0</DiskID> + <WillWipeDisk>true</WillWipeDisk> + <CreatePartitions> + <!-- Windows RE Tools partition --> + <CreatePartition wcm:action="add"> + <Order>1</Order> + <Type>Primary</Type> + <Size>256</Size> + </CreatePartition> + <!-- System partition (ESP) --> + <CreatePartition wcm:action="add"> + <Order>2</Order> + <Type>EFI</Type> + <Size>128</Size> + </CreatePartition> + <!-- Microsoft reserved partition (MSR) --> + <CreatePartition wcm:action="add"> + <Order>3</Order> + <Type>MSR</Type> + <Size>128</Size> + </CreatePartition> + <!-- Windows partition --> + <CreatePartition wcm:action="add"> + <Order>4</Order> + <Type>Primary</Type> + <Extend>true</Extend> + </CreatePartition> + </CreatePartitions> + <ModifyPartitions> + <!-- Windows RE Tools partition --> + <ModifyPartition wcm:action="add"> + <Order>1</Order> + <PartitionID>1</PartitionID> + <Label>WINRE</Label> + <Format>NTFS</Format> + <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID> + </ModifyPartition> + <!-- System partition (ESP) --> + <ModifyPartition wcm:action="add"> + <Order>2</Order> + <PartitionID>2</PartitionID> + <Label>System</Label> + <Format>FAT32</Format> + </ModifyPartition> + <!-- MSR partition does not need to be modified --> + <ModifyPartition wcm:action="add"> + <Order>3</Order> + <PartitionID>3</PartitionID> + </ModifyPartition> + <!-- Windows partition --> + <ModifyPartition wcm:action="add"> + <Order>4</Order> + <PartitionID>4</PartitionID> + <Label>Windows</Label> + <Letter>C</Letter> + <Format>NTFS</Format> + </ModifyPartition> + </ModifyPartitions> + </Disk> + </DiskConfiguration> + <DynamicUpdate> + <Enable>true</Enable> + <WillShowUI>Never</WillShowUI> + </DynamicUpdate> + <ImageInstall> + <OSImage> + <InstallTo> + <DiskID>0</DiskID> + <PartitionID>4</PartitionID> + </InstallTo> + <InstallToAvailablePartition>false</InstallToAvailablePartition> + </OSImage> + </ImageInstall> + <RunSynchronous> + <RunSynchronousCommand wcm:action="add"> + <Order>1</Order> + <Path>reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t REG_DWORD /d 0x00000001 /f</Path> + </RunSynchronousCommand> + <RunSynchronousCommand wcm:action="add"> + <Order>2</Order> + <Path>reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 0x00000001 /f</Path> + </RunSynchronousCommand> + <RunSynchronousCommand wcm:action="add"> + <Order>3</Order> + <Path>reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 0x00000001 /f</Path> + </RunSynchronousCommand> + <RunSynchronousCommand wcm:action="add"> + <Order>4</Order> + <Path>reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 0x00000001 /f</Path> + </RunSynchronousCommand> + </RunSynchronous> + <UpgradeData> + <Upgrade>false</Upgrade> + <WillShowUI>Never</WillShowUI> + </UpgradeData> + <UserData> + <AcceptEula>true</AcceptEula> + <FullName>Quickemu</FullName> + <Organization>Quickemu Project</Organization> + <!-- https://docs.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys --> + <ProductKey> + <Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</Key> + <WillShowUI>Never</WillShowUI> + </ProductKey> + </UserData> + </component> + + <component name="Microsoft-Windows-PnpCustomizationsWinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <!-- + This makes the VirtIO drivers available to Windows, assuming that + the VirtIO driver disk is available as drive E: + https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md + --> + <DriverPaths> + <PathAndCredentials wcm:action="add" wcm:keyValue="1"> + <Path>E:\qemufwcfg\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="2"> + <Path>E:\vioinput\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="3"> + <Path>E:\vioscsi\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="4"> + <Path>E:\viostor\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="5"> + <Path>E:\vioserial\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="6"> + <Path>E:\qxldod\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="7"> + <Path>E:\amd64\w10</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="8"> + <Path>E:\viogpudo\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="9"> + <Path>E:\viorng\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="10"> + <Path>E:\NetKVM\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="11"> + <Path>E:\viofs\w10\amd64</Path> + </PathAndCredentials> + <PathAndCredentials wcm:action="add" wcm:keyValue="12"> + <Path>E:\Balloon\w10\amd64</Path> + </PathAndCredentials> + </DriverPaths> + </component> + </settings> + + <settings pass="oobeSystem"> + <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <AutoLogon> + <Password> + <Value>quickemu</Value> + <PlainText>true</PlainText> + </Password> + <Enabled>true</Enabled> + <Username>Quickemu</Username> + </AutoLogon> + <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> + <OOBE> + <HideEULAPage>true</HideEULAPage> + <HideLocalAccountScreen>true</HideLocalAccountScreen> + <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> + <HideOnlineAccountScreens>true</HideOnlineAccountScreens> + <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> + <NetworkLocation>Home</NetworkLocation> + <ProtectYourPC>3</ProtectYourPC> + <SkipUserOOBE>true</SkipUserOOBE> + <SkipMachineOOBE>true</SkipMachineOOBE> + <VMModeOptimizations> + <SkipWinREInitialization>true</SkipWinREInitialization> + </VMModeOptimizations> + </OOBE> + <UserAccounts> + <LocalAccounts> + <LocalAccount wcm:action="add"> + <Password> + <Value>quickemu</Value> + <PlainText>true</PlainText> + </Password> + <Description>Quickemu</Description> + <DisplayName>Quickemu</DisplayName> + <Group>Administrators</Group> + <Name>Quickemu</Name> + </LocalAccount> + </LocalAccounts> + </UserAccounts> + <RegisteredOrganization>Quickemu Project</RegisteredOrganization> + <RegisteredOwner>Quickemu</RegisteredOwner> + <FirstLogonCommands> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i E:\guest-agent\qemu-ga-x86_64.msi /quiet /passive /qn</CommandLine> + <Description>Install Virtio Guest Agent</Description> + <Order>1</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i F:\spice-webdavd-x64-latest.msi /quiet /passive /qn</CommandLine> + <Description>Install spice-webdavd file sharing agent</Description> + <Order>2</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i F:\UsbDk_1.0.22_x64.msi /quiet /passive /qn</CommandLine> + <Description>Install usbdk USB sharing agent</Description> + <Order>3</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>msiexec /i F:\spice-vdagent-x64-0.10.0.msi /quiet /passive /qn</CommandLine> + <Description>Install spice-vdagent SPICE agent</Description> + <Order>4</Order> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <CommandLine>Cmd /c POWERCFG -H OFF</CommandLine> + <Description>Disable Hibernation</Description> + <Order>5</Order> + </SynchronousCommand> + </FirstLogonCommands> + </component> + </settings> +</unattend> +EOF + + +echo "Downloading Spice drivers..." +web_get https://www.spice-space.org/download/windows/spice-webdavd/spice-webdavd-x64-latest.msi "${VM_PATH}/unattended" +web_get https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.10.0/spice-vdagent-x64-0.10.0.msi "${VM_PATH}/unattended" +web_get https://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.22_x64.msi "${VM_PATH}/unattended" + +echo "Making unattended.iso" +mkisofs -quiet -l -o "${VM_PATH}/unattended.iso" "${VM_PATH}/unattended/" +} + +function handle_curl_error() { + local error_code="$1" + local fatal_error_action=2 + case "$error_code" in + 6) + echo "Failed to resolve Microsoft servers! Is there an Internet connection? Exiting..." + return "$fatal_error_action" + ;; + 7) + echo "Failed to contact Microsoft servers! Is there an Internet connection or is the server down?" + ;; + 8) + echo "Microsoft servers returned a malformed HTTP response!" + ;; + 22) + echo "Microsoft servers returned a failing HTTP status code!" + ;; + 23) + echo "Failed at writing Windows media to disk! Out of disk space or permission error? Exiting..." + return "$fatal_error_action" + ;; + 26) + echo "Ran out of memory during download! Exiting..." + return "$fatal_error_action" + ;; + 36) + echo "Failed to continue earlier download!" + ;; + 63) + echo "Microsoft servers returned an unexpectedly large response!" + ;; + # POSIX defines exit statuses 1-125 as usable by us + # https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_02 + $((error_code <= 125))) + # Must be some other server or network error (possibly with this specific request/file) + # This is when accounting for all possible errors in the curl manual assuming a correctly formed curl command and an HTTP(S) request, using only the curl features we're using, and a sane build + echo "Miscellaneous server or network error!" + ;; + 126 | 127 ) + echo "Curl command not found! Please install curl and try again. Exiting..." + return "$fatal_error_action" + ;; + # Exit statuses are undefined by POSIX beyond this point + *) + case "$(kill -l "$error_code")" in + # Signals defined to exist by POSIX: + # https://pubs.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html + INT) + echo "Curl was interrupted!" + ;; + # There could be other signals but these are most common + SEGV | ABRT ) + echo "Curl crashed! Failed exploitation attempt? Please report any core dumps to curl developers. Exiting..." + return "$fatal_error_action" + ;; + *) + echo "Curl terminated due to a fatal signal!" + ;; + esac + esac + return 1 +} + +function download_windows_server() { + local iso_download_page_html="" + # Copyright (C) 2024 Elliot Killick <contact@elliotkillick.com> + # This function is adapted from the Mido project: + # https://github.com/ElliotKillick/Mido + + # Download enterprise evaluation Windows versions + local windows_version="$1" + local enterprise_type="$2" + local PRETTY_RELEASE="" + + case "${RELEASE}" in + *) PRETTY_RELEASE="${RELEASE}";; + esac + + echo "Downloading $(pretty_name "${OS}") ${PRETTY_RELEASE} (${I18N})" + + local url="https://www.microsoft.com/en-us/evalcenter/download-$windows_version" + + echo " - Parsing download page: ${url}" + iso_download_page_html="$(curl --disable --silent --location --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url")" || { + handle_curl_error $? + return $? + } + + if ! [ "$iso_download_page_html" ]; then + # This should only happen if there's been some change to where this download page is located + echo " - Windows server download page gave us an empty response" + return 1 + fi + + local CULTURE="" + local COUNTRY="" + case "${I18N}" in + "English (Great Britain)") + CULTURE="en-gb" + COUNTRY="GB";; + "Chinese (Simplified)") + CULTURE="zh-cn" + COUNTRY="CN";; + "Chinese (Traditional)") + CULTURE="zh-tw" + COUNTRY="TW";; + "French") + CULTURE="fr-fr" + COUNTRY="FR";; + "German") + CULTURE="de-de" + COUNTRY="DE";; + "Italian") + CULTURE="it-it" + COUNTRY="IT";; + "Japanese") + CULTURE="ja-jp" + COUNTRY="JP";; + "Korean") + CULTURE="ko-kr" + COUNTRY="KR";; + "Portuguese (Brazil)") + CULTURE="pt-br" + COUNTRY="BR";; + "Spanish") + CULTURE="es-es" + COUNTRY="ES";; + "Russian") + CULTURE="ru-ru" + COUNTRY="RU";; + *) + CULTURE="en-us" + COUNTRY="US";; + esac + + echo " - Getting download link.." + iso_download_links="$(echo "$iso_download_page_html" | grep -o "https://go.microsoft.com/fwlink/p/?LinkID=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${CULTURE}&country=${COUNTRY}")" || { + # This should only happen if there's been some change to the download endpoint web address + echo " - Windows server download page gave us no download link" + return 1 + } + + # Limit untrusted size for input validation + iso_download_links="$(echo "$iso_download_links" | head -c 1024)" + + case "$enterprise_type" in + # Select x64 download link + "enterprise") iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;; + # Select x64 LTSC download link + "ltsc") iso_download_link=$(echo "$iso_download_links" | head -n 4 | tail -n 1) ;; + *) iso_download_link="$iso_download_links" ;; + esac + + # Follow redirect so proceeding log message is useful + # This is a request we make this Fido doesn't + # We don't need to set "--max-filesize" here because this is a HEAD request and the output is to /dev/null anyway + iso_download_link="$(curl --disable --silent --location --output /dev/null --silent --write-out "%{url_effective}" --head --fail --proto =https --tlsv1.2 --http1.1 -- "$iso_download_link")" || { + # This should only happen if the Microsoft servers are down + handle_curl_error $? + return $? + } + + # Limit untrusted size for input validation + iso_download_link="$(echo "$iso_download_link" | head -c 1024)" + + echo " - URL: $iso_download_link" + + # Download ISO + FILE_NAME="${iso_download_link##*/}" + web_get "${iso_download_link}" "${VM_PATH}" "${FILE_NAME}" + OS="windows-server" +} + +function download_windows_workstation() { + local HASH="" + local session_id="" + local iso_download_page_html="" + local product_edition_id="" + local language_skuid_table_json="" + local sku_id="" + local iso_download_link_json="" + local iso_download_link="" + + echo "Downloading Windows ${RELEASE} (${I18N})" + # This function is adapted from the Mido project: + # https://github.com/ElliotKillick/Mido + # Download newer consumer Windows versions from behind gated Microsoft API + + # Either 10, or 11 + local windows_version="$1" + + local url="https://www.microsoft.com/en-us/software-download/windows$windows_version" + case "$windows_version" in + 10) url="${url}ISO";; + esac + + local user_agent="Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0" + session_id="$(uuidgen)" + + # Get product edition ID for latest release of given Windows version + # Product edition ID: This specifies both the Windows release (e.g. 22H2) and edition ("multi-edition" is default, either Home/Pro/Edu/etc., we select "Pro" in the answer files) in one number + # This is the *only* request we make that Fido doesn't. Fido manually maintains a list of all the Windows release/edition product edition IDs in its script (see: $WindowsVersions array). This is helpful for downloading older releases (e.g. Windows 10 1909, 21H1, etc.) but we always want to get the newest release which is why we get this value dynamically + # Also, keeping a "$WindowsVersions" array like Fido does would be way too much of a maintenance burden + # Remove "Accept" header that curl sends by default + echo " - Parsing download page: ${url}" + iso_download_page_html="$(curl --disable --silent --user-agent "$user_agent" --header "Accept:" --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url")" || { + handle_curl_error $? + return $? + } + + echo -n " - Getting Product edition ID: " + # tr: Filter for only numerics to prevent HTTP parameter injection + # head -c was recently added to POSIX: https://austingroupbugs.net/view.php?id=407 + product_edition_id="$(echo "$iso_download_page_html" | grep -Eo '<option value="[0-9]+">Windows' | cut -d '"' -f 2 | head -n 1 | tr -cd '0-9' | head -c 16)" + echo "$product_edition_id" + + echo " - Permit Session ID: $session_id" + # Permit Session ID + # "org_id" is always the same value + curl --disable --silent --output /dev/null --user-agent "$user_agent" --header "Accept:" --max-filesize 100K --fail --proto =https --tlsv1.2 --http1.1 -- "https://vlscppe.microsoft.com/tags?org_id=y6jn8c31&session_id=$session_id" || { + # This should only happen if there's been some change to how this API works + handle_curl_error $? + return $? + } + + local profile="606624d44113" + + echo -n " - Getting language SKU ID: " + # Get language -> skuID association table + language_skuid_table_json="$(curl --disable -s --fail --max-filesize 100K --proto =https --tlsv1.2 --http1.1 "https://www.microsoft.com/software-download-connector/api/getskuinformationbyproductedition?profile=${profile}&ProductEditionId=${product_edition_id}&SKU=undefined&friendlyFileName=undefined&Locale=en-US&sessionID=${session_id}")" || { + handle_curl_error $? + return $? + } + + sku_id="$(echo "${language_skuid_table_json}" | jq -r '.Skus[] | select(.LocalizedLanguage=="'"${I18N}"'" or .Language=="'"${I18N}"'").Id')" + echo "$sku_id" + + echo " - Getting ISO download link..." + # Get ISO download link + # If any request is going to be blocked by Microsoft it's always this last one (the previous requests always seem to succeed) + # --referer: Required by Microsoft servers to allow request + iso_download_link_json="$(curl --disable -s --fail --referer "$url" "https://www.microsoft.com/software-download-connector/api/GetProductDownloadLinksBySku?profile=${profile}&productEditionId=undefined&SKU=${sku_id}&friendlyFileName=undefined&Locale=en-US&sessionID=${session_id}")" + + local failed=0 + + if ! [ "$iso_download_link_json" ]; then + # This should only happen if there's been some change to how this API works + echo " - Microsoft servers gave us an empty response to our request for an automated download." + failed=1 + fi + + if echo "$iso_download_link_json" | grep -q "Sentinel marked this request as rejected."; then + echo " - WARNING! Microsoft blocked the automated download request based on your IP address." + failed=1 + fi + + if [ ${failed} -eq 1 ]; then + echo " Manually download the Windows ${windows_version} ISO using a web browser from: ${url}" + echo " Save the downloaded ISO to: $(realpath "${VM_PATH}")" + echo " Update the config file to reference the downloaded ISO: ./${VM_PATH}.conf" + echo " Continuing with the VM creation process..." + return 1 + fi + + # Filter for 64-bit ISO download URL + iso_download_link="$(echo "${iso_download_link_json}" | jq -r '.ProductDownloadOptions[].Uri' | grep x64)" + + if ! [ "$iso_download_link" ]; then + # This should only happen if there's been some change to the download endpoint web address + echo " - Microsoft servers gave us no download link to our request for an automated download. Please manually download this ISO in a web browser: $url" + return 1 + fi + + echo " - URL: ${iso_download_link%%\?*}" + + # Download ISO + FILE_NAME="$(echo "$iso_download_link" | cut -d'?' -f1 | cut -d'/' -f5)" + web_get "${iso_download_link}" "${VM_PATH}" "${FILE_NAME}" +} + +function get_() { + if [ "${OS}" == "windows-server" ]; then + download_windows_server "windows-server-${RELEASE}" + else + download_windows_workstation "${RELEASE}" + fi + + if [ "${OPERATION}" == "download" ]; then + exit 0 + fi + + echo "Downloading VirtIO drivers..." + web_get "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" "${VM_PATH}" + + rm -f "${VM_PATH}/unattended.iso" + case ${RELEASE} in + 10|11) + unattended_windows "${VM_PATH}" + ;; + esac + + if [ -n "${FILE_NAME}" ]; then + make_vm_config "${FILE_NAME}" "virtio-win.iso" + else + make_vm_config "windows-${RELEASE}.iso" "virtio-win.iso" + fi +} diff --git a/actions/zorin b/actions/zorin new file mode 100644 index 0000000000..1e642831b8 --- /dev/null +++ b/actions/zorin @@ -0,0 +1,24 @@ +# Template file for 'zorin' +OSNAME=zorin +PRETTY="Zorin OS" +BASEDOF="Ubuntu" +DESCRIPTION="Alternative to Windows and macOS designed to make your computer faster, more powerful, secure, and privacy-respecting" +HOMEPAGE="https://zorin.com/os" +CREDENTIALS="-" + +function releases_() { + echo 17 16 +} + +function editions_() { + echo core64 lite64 education64 +} + +function get_() { + local HASH="" + local ISO="" + local URL="" + # Process the URL redirections; required for Zorin + URL=$(web_redirect "https://zrn.co/${RELEASE}${EDITION}") + echo "${URL} ${HASH}" +} diff --git a/locale/LINGUAS b/locale/LINGUAS new file mode 100644 index 0000000000..c574d073d1 --- /dev/null +++ b/locale/LINGUAS @@ -0,0 +1 @@ +en diff --git a/locale/quickemu.pot b/locale/quickemu.pot new file mode 100644 index 0000000000..7efcc2bf4e --- /dev/null +++ b/locale/quickemu.pot @@ -0,0 +1,150 @@ +#: quickget:27 +msgid " Website: ${HOMEPAGE}" +msgstr "" +#: quickget:28 +msgid " Based of: ${BASEDOF}" +msgstr "" +#: quickget:29 +msgid "Description: ${DESCRIPTION}" +msgstr "" +#: quickget:30 +msgid "Credentials: ${CREDENTIALS}" +msgstr "" +#: quickget:31 +msgid "Releases: ${RELEASES}" +msgstr "" +#: quickget:33 +msgid "Editions: ${EDITIONS}" +msgstr "" +#: quickget:48 +msgid "ERROR! You must specify an operating system." +msgstr "" +#: quickget:49 +msgid "- Supported Operating Systems:" +msgstr "" +#: quickget:51 +msgid "\\nTo see all possible arguments, use:\\n quickget -h or quickget --help" +msgstr "" +#: quickget:57 +msgid "ERROR! ${OS} is not a supported OS.\\n" +msgstr "" +#: quickget:65 +msgid "\\nERROR! You must specify a release." +msgstr "" +#: quickget:71 +msgid "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\\n" +msgstr "" +#: quickget:79 +msgid "ERROR! ${I18N} is not a supported ${PRETTY} language\\n" +msgstr "" +#: quickget:88 +msgid "ERROR! Not supported argument" +msgstr "" +#: quickget:89 +msgid "To see all possible arguments, use:" +msgstr "" +#: quickget:95 +msgid "ERROR! Unable to create directory ${DIR}" +msgstr "" +#: quickget:100 +msgid "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" +msgstr "" +#: quickget:126 +msgid "ERROR! Unsupported combination" +msgstr "" +#: quickget:127 +msgid " Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition" +msgstr "" +#: quickget:407 +msgid "WARNING! Can't guess hash algorithm, not checking ${iso} hash." +msgstr "" +#: quickget:410 +msgid "Checking ${iso} with ${hash_algo}... " +msgstr "" +#: quickget:412 +msgid "ERROR!" +msgstr "" +#: quickget:413 +msgid "${iso} doesn't match ${hash}. Try running 'quickget' again." +msgstr "" +#: quickget:416 +msgid "Good!" +msgstr "" +#: quickget:475 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION}" +msgstr "" +#: quickget:476 +msgid "- URL: ${URL}" +msgstr "" +#: quickget:480 +msgid "ERROR! Failed to download ${URL} with curl." +msgstr "" +#: quickget:539 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" +msgstr "" +#: quickget:542 +msgid "ERROR! Failed to download ${URL/https/http}.zsync" +msgstr "" +#: quickget:550 +msgid "INFO: zsync not found, falling back to curl" +msgstr "" +#: quickget:637 +msgid "Making ${CONF_FILE}" +msgstr "" +#: quickget:644 +msgid " - Setting ${CONF_FILE} executable" +msgstr "" +#: quickget:744 +msgid "Run new ${OS} VM?" +msgstr "" +#: quickget:747 +msgid "\\nTo start your ${PRETTY} virtual machine run:" +msgstr "" +#: quickget:749 +msgid " quickemu --vm ${CONF_FILE}\\nTo start Slint with braille support run:\\n quickemu --vm --braille --display sdl ${CONF_FILE}" +msgstr "" +#: quickget:812 +msgid "ERROR! '7zip' needs installing. Unable to extract file." +msgstr "" +#: quickget:835 +msgid "ERROR! qemu-img not found. Please make sure qemu-img is installed." +msgstr "" +#: quickget:855 +msgid "WARNING! This will overwrite content of directory: ${VM_PATH}" +msgstr "" +#: quickget:867 +msgid "Moving image to VM dir" +msgstr "" +#: quickget:870 +msgid "ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." +msgstr "" +#: quickget:886 +msgid "Creating custom VM config for ${INPUT##*/}." +msgstr "" +#: quickget:896 +msgid "Creating unattended Windows installation files. To disable, pass --disable-unattended" +msgstr "" +#: quickget:898 +msgid "Downloading VirtIO drivers..." +msgstr "" +#: quickget:907 +msgid "Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\\n" +msgstr "" +#: quickget:918 +msgid "quickemu not found" +msgstr "" +#: quickget:944 +msgid "ERROR! ${EDITION} is not a supported ${PRETTY} edition\\n" +msgstr "" +#: quickget:954 +msgid "\\nERROR! You must specify an edition." +msgstr "" +#: quickget:997 +msgid "gum could not be found, please install it first" +msgstr "" +#: quickget:1063 +msgid "Sorry, you need bash 4.0 or newer to run this script." +msgstr "" +#: quickget:1072 +msgid "ERROR! curl not found. Please install curl" +msgstr "" diff --git a/locale/quickemu_en.po b/locale/quickemu_en.po new file mode 100644 index 0000000000..3a41836878 --- /dev/null +++ b/locale/quickemu_en.po @@ -0,0 +1,214 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: zenobit <zenobit@duck.com>\n" +"Language-Team: none\n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: quickget:27 +msgid " Website: ${HOMEPAGE}" +msgstr " Website: ${HOMEPAGE}" + +#: quickget:28 +msgid " Based of: ${BASEDOF}" +msgstr " Based of: ${BASEDOF}" + +#: quickget:29 +msgid "Description: ${DESCRIPTION}" +msgstr "Description: ${DESCRIPTION}" + +#: quickget:30 +msgid "Credentials: ${CREDENTIALS}" +msgstr "Credentials: ${CREDENTIALS}" + +#: quickget:31 +msgid "Releases: ${RELEASES}" +msgstr "Releases: ${RELEASES}" + +#: quickget:33 +msgid "Editions: ${EDITIONS}" +msgstr "Editions: ${EDITIONS}" + +#: quickget:48 +msgid "ERROR! You must specify an operating system." +msgstr "ERROR! You must specify an operating system." + +#: quickget:49 +msgid "- Supported Operating Systems:" +msgstr "- Supported Operating Systems:" + +#: quickget:51 +msgid "\\nTo see all possible arguments, use:\\n quickget -h or quickget --help" +msgstr "\\nTo see all possible arguments, use:\\n quickget -h or quickget --help" + +#: quickget:57 +msgid "ERROR! ${OS} is not a supported OS.\\n" +msgstr "ERROR! ${OS} is not a supported OS.\\n" + +#: quickget:65 +msgid "\\nERROR! You must specify a release." +msgstr "\\nERROR! You must specify a release." + +#: quickget:71 +msgid "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\\n" +msgstr "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\\n" + +#: quickget:79 +msgid "ERROR! ${I18N} is not a supported ${PRETTY} language\\n" +msgstr "ERROR! ${I18N} is not a supported ${PRETTY} language\\n" + +#: quickget:88 +msgid "ERROR! Not supported argument" +msgstr "ERROR! Not supported argument" + +#: quickget:89 +msgid "To see all possible arguments, use:" +msgstr "To see all possible arguments, use:" + +#: quickget:95 +msgid "ERROR! Unable to create directory ${DIR}" +msgstr "ERROR! Unable to create directory ${DIR}" + +#: quickget:100 +msgid "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" +msgstr "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" + +#: quickget:126 +msgid "ERROR! Unsupported combination" +msgstr "ERROR! Unsupported combination" + +#: quickget:127 +msgid " Fedora ${RELEASE} ${EDITION} is not available, please choose another " +"Release or Edition" +msgstr " Fedora ${RELEASE} ${EDITION} is not available, please choose another " +"Release or Edition" + +#: quickget:407 +msgid "WARNING! Can't guess hash algorithm, not checking ${iso} hash." +msgstr "WARNING! Can't guess hash algorithm, not checking ${iso} hash." + +#: quickget:410 +msgid "Checking ${iso} with ${hash_algo}... " +msgstr "Checking ${iso} with ${hash_algo}... " + +#: quickget:412 +msgid "ERROR!" +msgstr "ERROR!" + +#: quickget:413 +msgid "${iso} doesn't match ${hash}. Try running 'quickget' again." +msgstr "${iso} doesn't match ${hash}. Try running 'quickget' again." + +#: quickget:416 +msgid "Good!" +msgstr "Good!" + +#: quickget:475 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION}" +msgstr "Downloading ${PRETTY} ${RELEASE} ${EDITION}" + +#: quickget:476 +msgid "- URL: ${URL}" +msgstr "- URL: ${URL}" + +#: quickget:480 +msgid "ERROR! Failed to download ${URL} with curl." +msgstr "ERROR! Failed to download ${URL} with curl." + +#: quickget:539 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" +msgstr "Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" + +#: quickget:542 +msgid "ERROR! Failed to download ${URL/https/http}.zsync" +msgstr "ERROR! Failed to download ${URL/https/http}.zsync" + +#: quickget:550 +msgid "INFO: zsync not found, falling back to curl" +msgstr "INFO: zsync not found, falling back to curl" + +#: quickget:637 +msgid "Making ${CONF_FILE}" +msgstr "Making ${CONF_FILE}" + +#: quickget:644 +msgid " - Setting ${CONF_FILE} executable" +msgstr " - Setting ${CONF_FILE} executable" + +#: quickget:744 +msgid "Run new ${OS} VM?" +msgstr "Run new ${OS} VM?" + +#: quickget:747 +msgid "\\nTo start your ${PRETTY} virtual machine run:" +msgstr "\\nTo start your ${PRETTY} virtual machine run:" + +#: quickget:749 +msgid " quickemu --vm ${CONF_FILE}\\nTo start Slint with braille support run:" +"\\n quickemu --vm --braille --display sdl ${CONF_FILE}" +msgstr " quickemu --vm ${CONF_FILE}\\nTo start Slint with braille support run:" +"\\n quickemu --vm --braille --display sdl ${CONF_FILE}" + +#: quickget:812 +msgid "ERROR! '7zip' needs installing. Unable to extract file." +msgstr "ERROR! '7zip' needs installing. Unable to extract file." + +#: quickget:835 +msgid "ERROR! qemu-img not found. Please make sure qemu-img is installed." +msgstr "ERROR! qemu-img not found. Please make sure qemu-img is installed." + +#: quickget:855 +msgid "WARNING! This will overwrite content of directory: ${VM_PATH}" +msgstr "WARNING! This will overwrite content of directory: ${VM_PATH}" + +#: quickget:867 +msgid "Moving image to VM dir" +msgstr "Moving image to VM dir" + +#: quickget:870 +msgid "ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." +msgstr "ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." + +#: quickget:886 +msgid "Creating custom VM config for ${INPUT##*/}." +msgstr "Creating custom VM config for ${INPUT##*/}." + +#: quickget:896 +msgid "Creating unattended Windows installation files. To disable, pass --disable-unattended" +msgstr "Creating unattended Windows installation files. To disable, pass --disable-unattended" + +#: quickget:898 +msgid "Downloading VirtIO drivers..." +msgstr "Downloading VirtIO drivers..." + +#: quickget:907 +msgid "Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\\n" +msgstr "Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\\n" + +#: quickget:918 +msgid "quickemu not found" +msgstr "quickemu not found" + +#: quickget:944 +msgid "ERROR! ${EDITION} is not a supported ${PRETTY} edition\\n" +msgstr "ERROR! ${EDITION} is not a supported ${PRETTY} edition\\n" + +#: quickget:954 +msgid "\\nERROR! You must specify an edition." +msgstr "\\nERROR! You must specify an edition." + +#: quickget:997 +msgid "gum could not be found, please install it first" +msgstr "gum could not be found, please install it first" + +#: quickget:1063 +msgid "Sorry, you need bash 4.0 or newer to run this script." +msgstr "Sorry, you need bash 4.0 or newer to run this script." + +#: quickget:1072 +msgid "ERROR! curl not found. Please install curl" +msgstr "ERROR! curl not found. Please install curl" diff --git a/locale/quickget.pot b/locale/quickget.pot new file mode 100644 index 0000000000..7efcc2bf4e --- /dev/null +++ b/locale/quickget.pot @@ -0,0 +1,150 @@ +#: quickget:27 +msgid " Website: ${HOMEPAGE}" +msgstr "" +#: quickget:28 +msgid " Based of: ${BASEDOF}" +msgstr "" +#: quickget:29 +msgid "Description: ${DESCRIPTION}" +msgstr "" +#: quickget:30 +msgid "Credentials: ${CREDENTIALS}" +msgstr "" +#: quickget:31 +msgid "Releases: ${RELEASES}" +msgstr "" +#: quickget:33 +msgid "Editions: ${EDITIONS}" +msgstr "" +#: quickget:48 +msgid "ERROR! You must specify an operating system." +msgstr "" +#: quickget:49 +msgid "- Supported Operating Systems:" +msgstr "" +#: quickget:51 +msgid "\\nTo see all possible arguments, use:\\n quickget -h or quickget --help" +msgstr "" +#: quickget:57 +msgid "ERROR! ${OS} is not a supported OS.\\n" +msgstr "" +#: quickget:65 +msgid "\\nERROR! You must specify a release." +msgstr "" +#: quickget:71 +msgid "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\\n" +msgstr "" +#: quickget:79 +msgid "ERROR! ${I18N} is not a supported ${PRETTY} language\\n" +msgstr "" +#: quickget:88 +msgid "ERROR! Not supported argument" +msgstr "" +#: quickget:89 +msgid "To see all possible arguments, use:" +msgstr "" +#: quickget:95 +msgid "ERROR! Unable to create directory ${DIR}" +msgstr "" +#: quickget:100 +msgid "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" +msgstr "" +#: quickget:126 +msgid "ERROR! Unsupported combination" +msgstr "" +#: quickget:127 +msgid " Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition" +msgstr "" +#: quickget:407 +msgid "WARNING! Can't guess hash algorithm, not checking ${iso} hash." +msgstr "" +#: quickget:410 +msgid "Checking ${iso} with ${hash_algo}... " +msgstr "" +#: quickget:412 +msgid "ERROR!" +msgstr "" +#: quickget:413 +msgid "${iso} doesn't match ${hash}. Try running 'quickget' again." +msgstr "" +#: quickget:416 +msgid "Good!" +msgstr "" +#: quickget:475 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION}" +msgstr "" +#: quickget:476 +msgid "- URL: ${URL}" +msgstr "" +#: quickget:480 +msgid "ERROR! Failed to download ${URL} with curl." +msgstr "" +#: quickget:539 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" +msgstr "" +#: quickget:542 +msgid "ERROR! Failed to download ${URL/https/http}.zsync" +msgstr "" +#: quickget:550 +msgid "INFO: zsync not found, falling back to curl" +msgstr "" +#: quickget:637 +msgid "Making ${CONF_FILE}" +msgstr "" +#: quickget:644 +msgid " - Setting ${CONF_FILE} executable" +msgstr "" +#: quickget:744 +msgid "Run new ${OS} VM?" +msgstr "" +#: quickget:747 +msgid "\\nTo start your ${PRETTY} virtual machine run:" +msgstr "" +#: quickget:749 +msgid " quickemu --vm ${CONF_FILE}\\nTo start Slint with braille support run:\\n quickemu --vm --braille --display sdl ${CONF_FILE}" +msgstr "" +#: quickget:812 +msgid "ERROR! '7zip' needs installing. Unable to extract file." +msgstr "" +#: quickget:835 +msgid "ERROR! qemu-img not found. Please make sure qemu-img is installed." +msgstr "" +#: quickget:855 +msgid "WARNING! This will overwrite content of directory: ${VM_PATH}" +msgstr "" +#: quickget:867 +msgid "Moving image to VM dir" +msgstr "" +#: quickget:870 +msgid "ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." +msgstr "" +#: quickget:886 +msgid "Creating custom VM config for ${INPUT##*/}." +msgstr "" +#: quickget:896 +msgid "Creating unattended Windows installation files. To disable, pass --disable-unattended" +msgstr "" +#: quickget:898 +msgid "Downloading VirtIO drivers..." +msgstr "" +#: quickget:907 +msgid "Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\\n" +msgstr "" +#: quickget:918 +msgid "quickemu not found" +msgstr "" +#: quickget:944 +msgid "ERROR! ${EDITION} is not a supported ${PRETTY} edition\\n" +msgstr "" +#: quickget:954 +msgid "\\nERROR! You must specify an edition." +msgstr "" +#: quickget:997 +msgid "gum could not be found, please install it first" +msgstr "" +#: quickget:1063 +msgid "Sorry, you need bash 4.0 or newer to run this script." +msgstr "" +#: quickget:1072 +msgid "ERROR! curl not found. Please install curl" +msgstr "" diff --git a/locale/quickget_en.po b/locale/quickget_en.po new file mode 100644 index 0000000000..8fd262f101 --- /dev/null +++ b/locale/quickget_en.po @@ -0,0 +1,210 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: zenobit <zenobit@duck.com>\n" +"Language-Team: none\n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: quickget:27 +msgid " Website: ${HOMEPAGE}" +msgstr " Website: ${HOMEPAGE}" + +#: quickget:28 +msgid " Based of: ${BASEDOF}" +msgstr " Based of: ${BASEDOF}" + +#: quickget:29 +msgid "Description: ${DESCRIPTION}" +msgstr "Description: ${DESCRIPTION}" + +#: quickget:30 +msgid "Credentials: ${CREDENTIALS}" +msgstr "Credentials: ${CREDENTIALS}" + +#: quickget:31 +msgid "Releases: ${RELEASES}" +msgstr "Releases: ${RELEASES}" + +#: quickget:33 +msgid "Editions: ${EDITIONS}" +msgstr "Editions: ${EDITIONS}" + +#: quickget:48 +msgid "ERROR! You must specify an operating system." +msgstr "ERROR! You must specify an operating system." + +#: quickget:49 +msgid "- Supported Operating Systems:" +msgstr "- Supported Operating Systems:" + +#: quickget:51 +msgid "\\nTo see all possible arguments, use:\\n quickget -h or quickget --help" +msgstr "\\nTo see all possible arguments, use:\\n quickget -h or quickget --help" + +#: quickget:57 +msgid "ERROR! ${OS} is not a supported OS.\\n" +msgstr "ERROR! ${OS} is not a supported OS.\\n" + +#: quickget:65 +msgid "\\nERROR! You must specify a release." +msgstr "\\nERROR! You must specify a release." + +#: quickget:71 +msgid "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\\n" +msgstr "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\\n" + +#: quickget:79 +msgid "ERROR! ${I18N} is not a supported ${PRETTY} language\\n" +msgstr "ERROR! ${I18N} is not a supported ${PRETTY} language\\n" + +#: quickget:88 +msgid "ERROR! Not supported argument" +msgstr "ERROR! Not supported argument" + +#: quickget:89 +msgid "To see all possible arguments, use:" +msgstr "To see all possible arguments, use:" + +#: quickget:95 +msgid "ERROR! Unable to create directory ${DIR}" +msgstr "ERROR! Unable to create directory ${DIR}" + +#: quickget:100 +msgid "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" +msgstr "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" + +#: quickget:126 +msgid "ERROR! Unsupported combination" +msgstr "ERROR! Unsupported combination" + +#: quickget:127 +msgid " Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition" +msgstr " Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition" + +#: quickget:407 +msgid "WARNING! Can't guess hash algorithm, not checking ${iso} hash." +msgstr "WARNING! Can't guess hash algorithm, not checking ${iso} hash." + +#: quickget:410 +msgid "Checking ${iso} with ${hash_algo}... " +msgstr "Checking ${iso} with ${hash_algo}... " + +#: quickget:412 +msgid "ERROR!" +msgstr "ERROR!" + +#: quickget:413 +msgid "${iso} doesn't match ${hash}. Try running 'quickget' again." +msgstr "${iso} doesn't match ${hash}. Try running 'quickget' again." + +#: quickget:416 +msgid "Good!" +msgstr "Good!" + +#: quickget:475 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION}" +msgstr "Downloading ${PRETTY} ${RELEASE} ${EDITION}" + +#: quickget:476 +msgid "- URL: ${URL}" +msgstr "- URL: ${URL}" + +#: quickget:480 +msgid "ERROR! Failed to download ${URL} with curl." +msgstr "ERROR! Failed to download ${URL} with curl." + +#: quickget:539 +msgid "Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" +msgstr "Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" + +#: quickget:542 +msgid "ERROR! Failed to download ${URL/https/http}.zsync" +msgstr "ERROR! Failed to download ${URL/https/http}.zsync" + +#: quickget:550 +msgid "INFO: zsync not found, falling back to curl" +msgstr "INFO: zsync not found, falling back to curl" + +#: quickget:637 +msgid "Making ${CONF_FILE}" +msgstr "Making ${CONF_FILE}" + +#: quickget:644 +msgid " - Setting ${CONF_FILE} executable" +msgstr " - Setting ${CONF_FILE} executable" + +#: quickget:744 +msgid "Run new ${OS} VM?" +msgstr "Run new ${OS} VM?" + +#: quickget:747 +msgid "\\nTo start your ${PRETTY} virtual machine run:" +msgstr "\\nTo start your ${PRETTY} virtual machine run:" + +#: quickget:749 +msgid " quickemu --vm ${CONF_FILE}\\nTo start Slint with braille support run:\\n quickemu --vm --braille --display sdl ${CONF_FILE}" +msgstr " quickemu --vm ${CONF_FILE}\\nTo start Slint with braille support run:\\n quickemu --vm --braille --display sdl ${CONF_FILE}" + +#: quickget:812 +msgid "ERROR! '7zip' needs installing. Unable to extract file." +msgstr "ERROR! '7zip' needs installing. Unable to extract file." + +#: quickget:835 +msgid "ERROR! qemu-img not found. Please make sure qemu-img is installed." +msgstr "ERROR! qemu-img not found. Please make sure qemu-img is installed." + +#: quickget:855 +msgid "WARNING! This will overwrite content of directory: ${VM_PATH}" +msgstr "WARNING! This will overwrite content of directory: ${VM_PATH}" + +#: quickget:867 +msgid "Moving image to VM dir" +msgstr "Moving image to VM dir" + +#: quickget:870 +msgid "ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." +msgstr "ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." + +#: quickget:886 +msgid "Creating custom VM config for ${INPUT##*/}." +msgstr "Creating custom VM config for ${INPUT##*/}." + +#: quickget:896 +msgid "Creating unattended Windows installation files. To disable, pass --disable-unattended" +msgstr "Creating unattended Windows installation files. To disable, pass --disable-unattended" + +#: quickget:898 +msgid "Downloading VirtIO drivers..." +msgstr "Downloading VirtIO drivers..." + +#: quickget:907 +msgid "Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\\n" +msgstr "Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\\n" + +#: quickget:918 +msgid "quickemu not found" +msgstr "quickemu not found" + +#: quickget:944 +msgid "ERROR! ${EDITION} is not a supported ${PRETTY} edition\\n" +msgstr "ERROR! ${EDITION} is not a supported ${PRETTY} edition\\n" + +#: quickget:954 +msgid "\\nERROR! You must specify an edition." +msgstr "\\nERROR! You must specify an edition." + +#: quickget:997 +msgid "gum could not be found, please install it first" +msgstr "gum could not be found, please install it first" + +#: quickget:1063 +msgid "Sorry, you need bash 4.0 or newer to run this script." +msgstr "Sorry, you need bash 4.0 or newer to run this script." + +#: quickget:1072 +msgid "ERROR! curl not found. Please install curl" +msgstr "ERROR! curl not found. Please install curl" diff --git a/public/alma b/public/alma new file mode 100644 index 0000000000..ade93ca46b --- /dev/null +++ b/public/alma @@ -0,0 +1,9 @@ +# Template file for 'alma' +OSNAME="alma" +PRETTY="AlmaLinux" +BASEDOF="Fedora RedHat" +DESCRIPTION="Community distribution, focused on long-term stability, providing a robust production-grade platform. Binary compatible with RHEL®" +HOMEPAGE="https://almalinux.org/" +CREDENTIALS="-" +RELEASES="9 8" +EDITIONS="minimal dvd boot" diff --git a/public/alpine b/public/alpine new file mode 100644 index 0000000000..50d35fbe73 --- /dev/null +++ b/public/alpine @@ -0,0 +1,9 @@ +# Template file for 'alpine' +OSNAME="alpine" +PRETTY="Alpine Linux" +BASEDOF="-" +DESCRIPTION="Security-oriented, lightweight Linux distribution based on musl libc and busybox" +HOMEPAGE="https://alpinelinux.org/" +CREDENTIALS="-" +RELEASES="v3.21 v3.20 v3.19 v3.18 v3.17 v3.16 v3.15 v3.14 v3.13 v3.12" + diff --git a/public/android b/public/android new file mode 100644 index 0000000000..dfff1a1353 --- /dev/null +++ b/public/android @@ -0,0 +1,9 @@ +# Template file for 'android' +OSNAME="android" +PRETTY="Android x86" +BASEDOF="-" +DESCRIPTION="Port Android Open Source Project to x86 platform" +HOMEPAGE="https://www.android-x86.org" +CREDENTIALS="-" +RELEASES="9.0 8.1 7.1" +EDITIONS="x86_64 x86" diff --git a/public/antix b/public/antix new file mode 100644 index 0000000000..84eae6d370 --- /dev/null +++ b/public/antix @@ -0,0 +1,9 @@ +# Template file for 'antix' +OSNAME="antix" +PRETTY="Antix" +BASEDOF="Debian" +DESCRIPTION="Fast, lightweight and easy to install systemd-free linux live CD distribution based on Debian Stable for Intel-AMD x86 compatible systems" +HOMEPAGE="https://antixlinux.com" +CREDENTIALS="-" +RELEASES="23.2 23.1 23 22 21" +EDITIONS="net-sysv net-runit full-sysv full-runit core-sysv core-runit base-sysv base-runit" diff --git a/public/archcraft b/public/archcraft new file mode 100644 index 0000000000..1629830f95 --- /dev/null +++ b/public/archcraft @@ -0,0 +1,9 @@ +# Template file for 'archcraft' +OSNAME="archcraft" +PRETTY="Archcraft" +BASEDOF="Arch" +DESCRIPTION="Yet another minimal Linux distribution, based on Arch Linux" +HOMEPAGE="https://archcraft.io" +CREDENTIALS="-" +RELEASES="latest" + diff --git a/public/archlinux b/public/archlinux new file mode 100644 index 0000000000..d1181cd421 --- /dev/null +++ b/public/archlinux @@ -0,0 +1,9 @@ +# Template file for 'archlinux' +OSNAME="archlinux" +PRETTY="Arch Linux" +BASEDOF="-" +DESCRIPTION="Lightweight and flexible Linux® distribution that tries to Keep It Simple" +HOMEPAGE="https://archlinux.org" +CREDENTIALS="-" +RELEASES="latest" + diff --git a/public/arco b/public/arco new file mode 100644 index 0000000000..25e2402828 --- /dev/null +++ b/public/arco @@ -0,0 +1,9 @@ +# Template file for 'arco' +OSNAME="arcolinux" +PRETTY="Arco Linux" +BASEDOF="Arch" +DESCRIPTION="Is all about becoming an expert in linux" +HOMEPAGE="https://arcolinux.com" +CREDENTIALS="-" +RELEASES="v25.02.04 v25.01.05 v25.01.01 v24.12.02 v24.11.01" +EDITIONS="pro plasma net" diff --git a/public/artixlinux b/public/artixlinux new file mode 100644 index 0000000000..67d1984b7c --- /dev/null +++ b/public/artixlinux @@ -0,0 +1,9 @@ +# Template file for 'artixlinux' +OSNAME="artixlinux" +PRETTY="Artix Linux" +BASEDOF="Arch" +DESCRIPTION="The Art of Linux. Simple. Fast. Systemd-free" +HOMEPAGE="https://artixlinux.org" +CREDENTIALS="-" +RELEASES="20240823" +EDITIONS="xfce-s6 xfce-runit xfce-openrc xfce-dinit plasma-s6 plasma-runit plasma-openrc plasma-dinit mate-s6 mate-runit mate-openrc mate-dinit lxqt-s6 lxqt-runit lxqt-openrc lxqt-dinit lxde-s6 lxde-runit lxde-openrc lxde-dinit community-qt community-gtk cinnamon-s6 cinnamon-runit cinnamon-openrc cinnamon-dinit base-s6 base-runit base-openrc base-dinit" diff --git a/public/athenaos b/public/athenaos new file mode 100644 index 0000000000..883b9c07fb --- /dev/null +++ b/public/athenaos @@ -0,0 +1,9 @@ +# Template file for 'athenaos' +OSNAME="athenaos" +PRETTY="Athena OS" +BASEDOF="Arch" +DESCRIPTION="Offer a different experience than the most used pentesting distributions by providing only tools that fit with the user needs and improving the access to hacking resources and learning materials" +HOMEPAGE="https://athenaos.org" +CREDENTIALS="-" +RELEASES="v23.11 v23.06.23" + diff --git a/public/batocera b/public/batocera new file mode 100644 index 0000000000..249f035129 --- /dev/null +++ b/public/batocera @@ -0,0 +1,9 @@ +# Template file for 'batocera' +OSNAME="batocera" +PRETTY="Batocera" +BASEDOF="-" +DESCRIPTION="Retro-gaming distribution with the aim of turning any computer/nano computer into a gaming console during a game or permanently" +HOMEPAGE="https://batocera.org" +CREDENTIALS="-" +RELEASES="41 40 39 38 37" + diff --git a/public/bazzite b/public/bazzite new file mode 100644 index 0000000000..22807787dd --- /dev/null +++ b/public/bazzite @@ -0,0 +1,9 @@ +# Template file for 'bazzite' +OSNAME="bazzite" +PRETTY="bazzite" +BASEDOF="Fedora SteamOS" +DESCRIPTION="Container native gaming and a ready-to-game SteamOS like" +HOMEPAGE="https://bazzite.gg" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="kde gnome" diff --git a/public/biglinux b/public/biglinux new file mode 100644 index 0000000000..b0b0868e6c --- /dev/null +++ b/public/biglinux @@ -0,0 +1,9 @@ +# Template file for 'biglinux' +OSNAME="biglinux" +PRETTY="BigLinux" +BASEDOF="Manjaro" +DESCRIPTION="Is the right choice if you want to have an easy and enriching experience with Linux. It has been perfected over more than 19 years, following our motto: 'In search of the perfect system'" +HOMEPAGE="https://www.biglinux.com.br" +CREDENTIALS="-" +RELEASES="" +EDITIONS="" diff --git a/public/blendos b/public/blendos new file mode 100644 index 0000000000..181c5dd3d2 --- /dev/null +++ b/public/blendos @@ -0,0 +1,9 @@ +# Template file for 'blendos' +OSNAME="blendos" +PRETTY="BlendOS" +BASEDOF="Arch" +DESCRIPTION="A seamless blend of all Linux distributions. Allows you to have an immutable, atomic and declarative Arch Linux system, with application support from several Linux distributions & Android" +HOMEPAGE="https://blendos.co" +CREDENTIALS="-" +RELEASES="" + diff --git a/public/bodhi b/public/bodhi new file mode 100644 index 0000000000..60ef977c87 --- /dev/null +++ b/public/bodhi @@ -0,0 +1,9 @@ +# Template file for 'bodhi' +OSNAME="bodhi" +PRETTY="Bodhi Linux" +BASEDOF="Debian Ubuntu" +DESCRIPTION="Lightweight distribution featuring the fast & fully customizable Moksha Desktop" +HOMEPAGE="https://www.bodhilinux.com" +CREDENTIALS="-" +RELEASES="7.0.0" +EDITIONS="standard s76 hwe apppack" diff --git a/public/bunsenlabs b/public/bunsenlabs new file mode 100644 index 0000000000..0f3cf9c6bc --- /dev/null +++ b/public/bunsenlabs @@ -0,0 +1,9 @@ +# Template file for 'bunsenlabs' +OSNAME="bunsenlabs" +PRETTY="Bunsenlabs" +BASEDOF="Debian" +DESCRIPTION="Light-weight and easily customizable Openbox desktop. The project is a community continuation of CrunchBang Linux" +HOMEPAGE="https://www.bunsenlabs.org" +CREDENTIALS="-" +RELEASES="boron" + diff --git a/public/cachyos b/public/cachyos new file mode 100644 index 0000000000..1a1425eeae --- /dev/null +++ b/public/cachyos @@ -0,0 +1,9 @@ +# Template file for 'cachyos' +OSNAME="cachyos" +PRETTY="CachyOS" +BASEDOF="Arch" +DESCRIPTION="Designed to deliver lightning-fast speeds and stability, ensuring a smooth and enjoyable computing experience every time you use it" +HOMEPAGE="https://cachyos.org" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="handheld desktop" diff --git a/public/centos-stream b/public/centos-stream new file mode 100644 index 0000000000..34378948fc --- /dev/null +++ b/public/centos-stream @@ -0,0 +1,9 @@ +# Template file for 'centos-stream' +OSNAME="centos-stream" +PRETTY="CentOS Stream" +BASEDOF="Fedora RedHat" +DESCRIPTION="Continuously delivered distro that tracks just ahead of Red Hat Enterprise Linux (RHEL) development, positioned as a midstream between Fedora Linux and RHEL" +HOMEPAGE="https://www.centos.org/centos-stream" +CREDENTIALS="-" +RELEASES="9 10" +EDITIONS="dvd1 boot" diff --git a/public/chimeralinux b/public/chimeralinux new file mode 100644 index 0000000000..479ab6d3f5 --- /dev/null +++ b/public/chimeralinux @@ -0,0 +1,9 @@ +# Template file for 'chimeralinux' +OSNAME="chimeralinux" +PRETTY="Chimera Linux" +BASEDOF="-" +DESCRIPTION="Modern, general-purpose non-GNU Linux distribution" +HOMEPAGE="https://chimera-linux.org" +CREDENTIALS="anon:chimera root:chimera" +RELEASES="latest" +EDITIONS="gnome base" diff --git a/public/crunchbang++ b/public/crunchbang++ new file mode 100644 index 0000000000..ebe6ac2a77 --- /dev/null +++ b/public/crunchbang++ @@ -0,0 +1,9 @@ +# Template file for 'crunchbang++' +OSNAME="crunchbang++" +PRETTY="Crunchbangplusplus" +BASEDOF="Debian" +DESCRIPTION="The classic minimal crunchbang feel, now with debian 12 bookworm" +HOMEPAGE="https://www.crunchbangplusplus.org" +CREDENTIALS="-" +RELEASES="9.0 12.0 11.2 10.1" + diff --git a/public/debian b/public/debian new file mode 100644 index 0000000000..fd9767347f --- /dev/null +++ b/public/debian @@ -0,0 +1,9 @@ +# Template file for 'debian' +OSNAME="debian" +PRETTY="Debian" +BASEDOF="-" +DESCRIPTION="Complete Free Operating System with perfect level of ease of use and stability" +HOMEPAGE="https://www.debian.org" +CREDENTIALS="-" +RELEASES="12.9.0 11.11.0 10.13.0" +EDITIONS="xfce standard netinst mate lxqt lxde kde gnome cinnamon" diff --git a/public/deepin b/public/deepin new file mode 100644 index 0000000000..25fe7c000d --- /dev/null +++ b/public/deepin @@ -0,0 +1,9 @@ +# Template file for 'deepin' +OSNAME="deepin" +PRETTY="Deepin" +BASEDOF="Debian" +DESCRIPTION="Beautiful UI design, intimate human-computer interaction, and friendly community environment make you feel at home" +HOMEPAGE="https://www.deepin.org" +CREDENTIALS="-" +RELEASES="23 20.9" + diff --git a/public/devuan b/public/devuan new file mode 100644 index 0000000000..5093312a5a --- /dev/null +++ b/public/devuan @@ -0,0 +1,9 @@ +# Template file for 'devuan' +OSNAME="devuan" +PRETTY="Devuan" +BASEDOF="Debian" +DESCRIPTION="Fork of Debian without systemd that allows users to reclaim control over their system by avoiding unnecessary entanglements and ensuring Init Freedom" +HOMEPAGE="https://www.devuan.org" +CREDENTIALS="-" +RELEASES="daedalus chimaera beowulf" + diff --git a/public/dragonflybsd b/public/dragonflybsd new file mode 100644 index 0000000000..cdeadb85fe --- /dev/null +++ b/public/dragonflybsd @@ -0,0 +1,9 @@ +# Template file for 'dragonflybsd' +OSNAME="dragonflybsd" +PRETTY="DragonFlyBSD" +BASEDOF="FreeBSD" +DESCRIPTION="Provides an opportunity for the BSD base to grow in an entirely different direction from the one taken in the FreeBSD, NetBSD, and OpenBSD series" +HOMEPAGE="https://www.dragonflybsd.org" +CREDENTIALS="-" +RELEASES="6.4.0 6.2.2 6.2.1 6.0.1 6.0.0 5.8.3 5.8.2 5.8.1 5.8.0 5.6.3 5.6.2 5.6.1 5.6.0 5.4.3 5.4.2 5.4.1 5.4.0 5.2.2 5.2.1 5.2.0 5.0.2 5.0.1 5.0.0" + diff --git a/public/dsl b/public/dsl new file mode 100644 index 0000000000..ecfc754cb0 --- /dev/null +++ b/public/dsl @@ -0,0 +1,9 @@ +# Template file for 'dsl' +OSNAME="dsl" +PRETTY="Damn Small Linux" +BASEDOF="Antix" +DESCRIPTION="Goal of DSL is to pack as much usable desktop distribution into an image small enough to fit on a single CD" +HOMEPAGE="https://www.damnsmalllinux.org/" +CREDENTIALS="-" +RELEASES="2024.rc7" +EDITIONS="lz4 cdrom" diff --git a/public/easyos b/public/easyos new file mode 100644 index 0000000000..4a258aa98a --- /dev/null +++ b/public/easyos @@ -0,0 +1,9 @@ +# Template file for 'easyos' +OSNAME="easyos" +PRETTY="EasyOS" +BASEDOF="-" +DESCRIPTION="Experimental distribution designed from scratch to support containers" +HOMEPAGE="https://easyos.org" +CREDENTIALS="-" +RELEASES="5.8.5" + diff --git a/public/elementary b/public/elementary new file mode 100644 index 0000000000..08011d20e9 --- /dev/null +++ b/public/elementary @@ -0,0 +1,9 @@ +# Template file for 'elementary' +OSNAME="elementary" +PRETTY="elementary OS" +BASEDOF="Debian Ubuntu" +DESCRIPTION="Thoughtful, capable, and ethical replacement for Windows and macOS" +HOMEPAGE="https://elementary.io" +CREDENTIALS="-" +RELEASES="8.0 7.1 7.0" + diff --git a/public/endeavouros b/public/endeavouros new file mode 100644 index 0000000000..250d94b0fa --- /dev/null +++ b/public/endeavouros @@ -0,0 +1,9 @@ +# Template file for 'endeavouros' +OSNAME="endeavouros" +PRETTY="EndeavourOS" +BASEDOF="Arch" +DESCRIPTION="Provides an Arch experience without the hassle of installing it manually for both x86_64 and ARM systems" +HOMEPAGE="https://endeavouros.com" +CREDENTIALS="-" +RELEASES="mercury-2025.02.08 gemini-2024.04.20 galileo-neo-2024.01.25 galileo-11-2023 endeavour_neo-2024.09.22" + diff --git a/public/endless b/public/endless new file mode 100644 index 0000000000..c3a051a141 --- /dev/null +++ b/public/endless @@ -0,0 +1,9 @@ +# Template file for 'endless' +OSNAME="endless" +PRETTY="Endless OS" +BASEDOF="Debian" +DESCRIPTION="Completely Free, User-Friendly Operating System Packed with Educational Tools, Games, and More" +HOMEPAGE="https://www.endlessos.org/os" +CREDENTIALS="-" +RELEASES="6.0.4" +EDITIONS="pt_BR fr es en base" diff --git a/public/fedora b/public/fedora new file mode 100644 index 0000000000..8a1b74628c --- /dev/null +++ b/public/fedora @@ -0,0 +1,9 @@ +# Template file for 'fedora' +OSNAME="fedora" +PRETTY="Fedora" +BASEDOF="-" +DESCRIPTION="Innovative platform for hardware, clouds, and containers, built with love by you" +HOMEPAGE="https://www.fedoraproject.org" +CREDENTIALS="-" +RELEASES="41 40 39" +EDITIONS="i3 Xfce Workstation Sway Silverblue Server Sericea Onyx MiracleWM Mate LXQt LXDE Kinoite KDE_Mobile KDE Cinnamon Budgie" diff --git a/public/freebsd b/public/freebsd new file mode 100644 index 0000000000..4fd93f1fdb --- /dev/null +++ b/public/freebsd @@ -0,0 +1,9 @@ +# Template file for 'freebsd' +OSNAME="freebsd" +PRETTY="FreeBSD" +BASEDOF="-" +DESCRIPTION="Operating system used to power modern servers, desktops, and embedded platforms" +HOMEPAGE="https://www.freebsd.org" +CREDENTIALS="-" +RELEASES="14.2 14.1 13.4 13.3" +EDITIONS="dvd1 disc1" diff --git a/public/freedos b/public/freedos new file mode 100644 index 0000000000..b24b940f5e --- /dev/null +++ b/public/freedos @@ -0,0 +1,9 @@ +# Template file for 'freedos' +OSNAME="freedos" +PRETTY="FreeDOS" +BASEDOF="-" +DESCRIPTION="DOS-compatible operating system that you can use to play classic DOS games, run legacy business software, or develop embedded systems" +HOMEPAGE="https://freedos.org" +CREDENTIALS="-" +RELEASES="1.3 1.2" + diff --git a/public/garuda b/public/garuda new file mode 100644 index 0000000000..e63225901b --- /dev/null +++ b/public/garuda @@ -0,0 +1,9 @@ +# Template file for 'garuda' +OSNAME="garuda" +PRETTY="Garuda Linux" +BASEDOF="Arch" +DESCRIPTION="Feature rich and easy to use Linux distribution" +HOMEPAGE="https://garudalinux.org" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="xfce wayfire sway qtile mate lxqt-kwin kde-lite kde-git i3 gnome dr460nized-gaming dr460nized cinnamon" diff --git a/public/gentoo b/public/gentoo new file mode 100644 index 0000000000..91667cf09c --- /dev/null +++ b/public/gentoo @@ -0,0 +1,9 @@ +# Template file for 'gentoo' +OSNAME="gentoo" +PRETTY="Gentoo" +BASEDOF="-" +DESCRIPTION="Highly flexible, source-based Linux distribution" +HOMEPAGE="https://www.gentoo.org" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="minimal livegui" diff --git a/public/ghostbsd b/public/ghostbsd new file mode 100644 index 0000000000..b40816a3ae --- /dev/null +++ b/public/ghostbsd @@ -0,0 +1,9 @@ +# Template file for 'ghostbsd' +OSNAME="ghostbsd" +PRETTY="GhostBSD" +BASEDOF="FreeBSD" +DESCRIPTION="Simple, elegant desktop BSD Operating System" +HOMEPAGE="https://www.ghostbsd.org" +CREDENTIALS="-" +RELEASES="24.10.1 24.07.3 24.07.2" +EDITIONS="xfce mate" diff --git a/public/gnomeos b/public/gnomeos new file mode 100644 index 0000000000..09f3aca8b9 --- /dev/null +++ b/public/gnomeos @@ -0,0 +1,9 @@ +# Template file for 'gnomeos' +OSNAME="gnomeos" +PRETTY="GNOME OS" +BASEDOF="-" +DESCRIPTION="Alpha nightly bleeding edge distro of GNOME" +HOMEPAGE="https://os.gnome.org" +CREDENTIALS="-" +RELEASES="nightly 48.alpha 47.rc 47.beta 47.alpha 47.0 46.rc 46.beta 46.alpha 46.0 45.rc 45.beta 44.rc 44.beta 44.0 43.beta 43.alpha 43.0 42.rc 42.beta 42.0 41.rc 41.beta 41.0 40.rc 40.beta 40.0 3.38.1 3.38.0" + diff --git a/public/guix b/public/guix new file mode 100644 index 0000000000..6986a8d335 --- /dev/null +++ b/public/guix @@ -0,0 +1,9 @@ +# Template file for 'guix' +OSNAME="guix" +PRETTY="Guix" +BASEDOF="-" +DESCRIPTION="Distribution of the GNU operating system developed by the GNU Project—which respects the freedom of computer users" +HOMEPAGE="https://guix.gnu.org" +CREDENTIALS="-" +RELEASES="1.4.0 1.3.0" + diff --git a/public/haiku b/public/haiku new file mode 100644 index 0000000000..8ce3bf48f5 --- /dev/null +++ b/public/haiku @@ -0,0 +1,9 @@ +# Template file for 'haiku' +OSNAME="haiku" +PRETTY="Haiku" +BASEDOF="-" +DESCRIPTION="Specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful" +HOMEPAGE="https://www.haiku-os.org" +CREDENTIALS="-" +RELEASES="r1beta5 r1beta4 r1beta3" +EDITIONS="x86_gcc2h x86_64" diff --git a/public/kali b/public/kali new file mode 100644 index 0000000000..f042ec8c1b --- /dev/null +++ b/public/kali @@ -0,0 +1,9 @@ +# Template file for 'kali' +OSNAME="kali" +PRETTY="Kali Linux" +BASEDOF="Debian" +DESCRIPTION="The most advanced Penetration Testing Distribution" +HOMEPAGE="https://www.kali.org" +CREDENTIALS="-" +RELEASES="kali-weekly current" + diff --git a/public/kdeneon b/public/kdeneon new file mode 100644 index 0000000000..c334f25466 --- /dev/null +++ b/public/kdeneon @@ -0,0 +1,9 @@ +# Template file for 'kdeneon' +OSNAME="kdeneon" +PRETTY="KDE Neon" +BASEDOF="Debian Ubuntu" +DESCRIPTION="Latest and greatest of KDE community software packaged on a rock-solid base" +HOMEPAGE="https://neon.kde.org" +CREDENTIALS="-" +RELEASES="user unstable testing developer" + diff --git a/public/kolibrios b/public/kolibrios new file mode 100644 index 0000000000..b0c90e62dd --- /dev/null +++ b/public/kolibrios @@ -0,0 +1,9 @@ +# Template file for 'kolibrios' +OSNAME="kolibrios" +PRETTY="KolibriOS" +BASEDOF="-" +DESCRIPTION="Tiny yet incredibly powerful and fast operating system" +HOMEPAGE="http://kolibrios.org" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="ru_RU it_IT es_ES en_US" diff --git a/public/linuxlite b/public/linuxlite new file mode 100644 index 0000000000..16e2492829 --- /dev/null +++ b/public/linuxlite @@ -0,0 +1,9 @@ +# Template file for 'linuxlite' +OSNAME="linuxlite" +PRETTY="Linux Lite" +BASEDOF="Debian Ubuntu" +DESCRIPTION="Your first simple, fast and free stop in the world of Linux" +HOMEPAGE="https://www.linuxliteos.com" +CREDENTIALS="-" +RELEASES="6.6 6.4 6.2 6.0" + diff --git a/public/linuxmint b/public/linuxmint new file mode 100644 index 0000000000..7341400bb1 --- /dev/null +++ b/public/linuxmint @@ -0,0 +1,9 @@ +# Template file for 'linuxmint' +OSNAME="linuxmint" +PRETTY="Linux Mint" +BASEDOF="Ubuntu" +DESCRIPTION="Designed to work out of the box and comes fully equipped with the apps most people need" +HOMEPAGE="https://linuxmint.com" +CREDENTIALS="-" +RELEASES="22.1 22 21.3 21.2 21.1 21 20.3 20.2" +EDITIONS="xfce mate cinnamon" diff --git a/public/lmde b/public/lmde new file mode 100644 index 0000000000..d22d7050ab --- /dev/null +++ b/public/lmde @@ -0,0 +1,9 @@ +# Template file for 'lmde' +OSNAME="lmde" +PRETTY="Linux Mint Debian Edition" +BASEDOF="Debian" +DESCRIPTION="Aims to be as similar as possible to Linux Mint, but without using Ubuntu. The package base is provided by Debian instead" +HOMEPAGE="https://www.linuxmint.com/download_lmde.php" +CREDENTIALS="-" +RELEASES="6" +EDITIONS="cinnamon" diff --git a/public/maboxlinux b/public/maboxlinux new file mode 100644 index 0000000000..d6f03794b2 --- /dev/null +++ b/public/maboxlinux @@ -0,0 +1,9 @@ +# Template file for 'maboxlinux' +OSNAME="maboxlinux" +PRETTY="Mabox Linux" +BASEDOF="Manjaro" +DESCRIPTION="Lightweight, functional and easy to customize Openbox desktop" +HOMEPAGE="https://maboxlinux.org" +CREDENTIALS="-" +RELEASES="latest" + diff --git a/public/macos b/public/macos new file mode 100644 index 0000000000..4e5833a6ec --- /dev/null +++ b/public/macos @@ -0,0 +1,9 @@ +# Template file for 'macos' +OSNAME="macos" +PRETTY="MacOS" +BASEDOF="-" +DESCRIPTION="Work and play on your Mac are even more powerful. Elevate your presence on video calls. Access information in all-new ways. Boost gaming performance." +HOMEPAGE="https://www.apple.com/macos" +CREDENTIALS="-" +RELEASES="ventura sonoma monterey mojave catalina big-sur" + diff --git a/public/mageia b/public/mageia new file mode 100644 index 0000000000..11db7fb50d --- /dev/null +++ b/public/mageia @@ -0,0 +1,9 @@ +# Template file for 'mageia' +OSNAME="mageia" +PRETTY="Mageia" +BASEDOF="-" +DESCRIPTION="Stable, secure operating system for desktop & server" +HOMEPAGE="https://www.mageia.org" +CREDENTIALS="-" +RELEASES="9 8" +EDITIONS="Xfce Plasma GNOME" diff --git a/public/manjaro b/public/manjaro new file mode 100644 index 0000000000..788d5b6676 --- /dev/null +++ b/public/manjaro @@ -0,0 +1,9 @@ +# Template file for 'manjaro' +OSNAME="manjaro" +PRETTY="Manjaro" +BASEDOF="Arch" +DESCRIPTION="Versatile, free, and open-source Linux operating system designed with a strong focus on safeguarding user privacy and offering extensive control over hardware" +HOMEPAGE="https://manjaro.org" +CREDENTIALS="-" +RELEASES="xfce sway plasma i3 gnome cinnamon" +EDITIONS="minimal full" diff --git a/public/mxlinux b/public/mxlinux new file mode 100644 index 0000000000..8b258ffc14 --- /dev/null +++ b/public/mxlinux @@ -0,0 +1,9 @@ +# Template file for 'mxlinux' +OSNAME="mxlinux" +PRETTY="MX Linux" +BASEDOF="Debian Antix" +DESCRIPTION="Designed to combine elegant and efficient desktops with high stability and solid performance" +HOMEPAGE="https://mxlinux.org" +CREDENTIALS="-" +RELEASES="23.5" +EDITIONS="Xfce KDE Fluxbox" diff --git a/public/netboot b/public/netboot new file mode 100644 index 0000000000..a19db4a7a8 --- /dev/null +++ b/public/netboot @@ -0,0 +1,9 @@ +# Template file for 'netboot' +OSNAME="netboot" +PRETTY="netboot.xyz" +BASEDOF="iPXE" +DESCRIPTION="Your favorite operating systems in one place" +HOMEPAGE="https://netboot.xyz" +CREDENTIALS="-" +RELEASES="latest" + diff --git a/public/netbsd b/public/netbsd new file mode 100644 index 0000000000..330dbbbed1 --- /dev/null +++ b/public/netbsd @@ -0,0 +1,9 @@ +# Template file for 'netbsd' +OSNAME="netbsd" +PRETTY="NetBSD" +BASEDOF="-" +DESCRIPTION="Free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices" +HOMEPAGE="https://www.netbsd.org" +CREDENTIALS="-" +RELEASES="9.4 9.3 10.1 10.0" + diff --git a/public/nitrux b/public/nitrux new file mode 100644 index 0000000000..19a2e18db3 --- /dev/null +++ b/public/nitrux @@ -0,0 +1,9 @@ +# Template file for 'nitrux' +OSNAME="nitrux" +PRETTY="Nitrux" +BASEDOF="Debian Ubuntu" +DESCRIPTION="Powered by Debian, KDE Plasma and Frameworks, and AppImages" +HOMEPAGE="https://nxos.org" +CREDENTIALS="-" +RELEASES="latest" + diff --git a/public/nixos b/public/nixos new file mode 100644 index 0000000000..3c7dec2295 --- /dev/null +++ b/public/nixos @@ -0,0 +1,9 @@ +# Template file for 'nixos' +OSNAME="nixos" +PRETTY="NixOS" +BASEDOF="-" +DESCRIPTION="Linux distribution based on Nix package manager, tool that takes a unique approach to package management and system configuration" +HOMEPAGE="https://nixos.org" +CREDENTIALS="-" +RELEASES="unstable 24.11 24.05" +EDITIONS="plasma minimal gnome" diff --git a/public/nwg-shell b/public/nwg-shell new file mode 100644 index 0000000000..f439b50d55 --- /dev/null +++ b/public/nwg-shell @@ -0,0 +1,9 @@ +# Template file for 'nwg-shell' +OSNAME="nwg-shell" +PRETTY="nwg-shell" +BASEDOF="Arch" +DESCRIPTION="Arch Linux ISO with nwg-shell for sway and Hyprland" +HOMEPAGE="https://nwg-piotr.github.io/nwg-shell" +CREDENTIALS="-" +RELEASES="2025.01.01" + diff --git a/public/openbsd b/public/openbsd new file mode 100644 index 0000000000..bfc55f41a1 --- /dev/null +++ b/public/openbsd @@ -0,0 +1,9 @@ +# Template file for 'openbsd' +OSNAME="openbsd" +PRETTY="OpenBSD" +BASEDOF="-" +DESCRIPTION="Free, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography" +HOMEPAGE="https://www.openbsd.org" +CREDENTIALS="-" +RELEASES="7.6 7.5 7.4 7.3 7.2 7.1 7.0 6.9 6.8" + diff --git a/public/openindiana b/public/openindiana new file mode 100644 index 0000000000..38a8c9a767 --- /dev/null +++ b/public/openindiana @@ -0,0 +1,9 @@ +# Template file for 'openindiana' +OSNAME="openindiana" +PRETTY="OpenIndiana" +BASEDOF="Solaris OPenSolaris" +DESCRIPTION="Community supported illumos-based operating system" +HOMEPAGE="https://www.openindiana.org" +CREDENTIALS="-" +RELEASES="20241026 20240426 20231027 20230502 20230421" +EDITIONS="text minimal gui" diff --git a/public/opensuse b/public/opensuse new file mode 100644 index 0000000000..e5d6a047e7 --- /dev/null +++ b/public/opensuse @@ -0,0 +1,9 @@ +# Template file for 'opensuse' +OSNAME="opensuse" +PRETTY="openSUSE" +BASEDOF="-" +DESCRIPTION="The makers choice for sysadmins, developers and desktop users" +HOMEPAGE="https://www.opensuse.org" +CREDENTIALS="-" +RELEASES="tumbleweed microos aeon 16.0 15.6 15.5 15.4 15.3 15.2 15.1 15.0" + diff --git a/public/oraclelinux b/public/oraclelinux new file mode 100644 index 0000000000..8a25eac468 --- /dev/null +++ b/public/oraclelinux @@ -0,0 +1,9 @@ +# Template file for 'oraclelinux' +OSNAME="oraclelinux" +PRETTY="Oracle Linux" +BASEDOF="RedHar" +DESCRIPTION="Linux with everything required to deploy, optimize, and manage applications on-premises, in the cloud, and at the edge" +HOMEPAGE="https://www.oracle.com/linux" +CREDENTIALS="-" +RELEASES="9.3 9.2 9.1 9.0 8.9 8.8 8.7 8.6 8.5 8.4 7.9 7.8 7.7" + diff --git a/public/parrotsec b/public/parrotsec new file mode 100644 index 0000000000..fcebdaadd8 --- /dev/null +++ b/public/parrotsec @@ -0,0 +1,9 @@ +# Template file for 'parrotsec' +OSNAME="parrotsec" +PRETTY="Parrot Security" +BASEDOF="Debian" +DESCRIPTION="Provides a huge arsenal of tools, utilities and libraries that IT and security professionals can use to test and assess the security of their assets in a reliable, compliant and reproducible way" +HOMEPAGE="https://www.parrotsec.org" +CREDENTIALS="parrot:parrot" +RELEASES="6.3.2 6.2 6.1" +EDITIONS="security htb home" diff --git a/public/peppermint b/public/peppermint new file mode 100644 index 0000000000..e61c10cff7 --- /dev/null +++ b/public/peppermint @@ -0,0 +1,9 @@ +# Template file for 'peppermint' +OSNAME="peppermint" +PRETTY="PeppermintOS" +BASEDOF="Devuan" +DESCRIPTION="Provides a user with the opportunity to build the system that best fits their needs. While at the same time providing a functioning OS with minimum hassle out of the box" +HOMEPAGE="https://peppermintos.com" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="devuan-xfce devuan-gnome debian-xfce debian-gnome" diff --git a/public/popos b/public/popos new file mode 100644 index 0000000000..92266adc0d --- /dev/null +++ b/public/popos @@ -0,0 +1,9 @@ +# Template file for 'popos' +OSNAME="popos" +PRETTY="Pop!_OS" +BASEDOF="Ubuntu" +DESCRIPTION="Operating system for STEM and creative professionals who use their computer as a tool to discover and create" +HOMEPAGE="https://pop.system76.com" +CREDENTIALS="-" +RELEASES="22.04 20.04" +EDITIONS="nvidia intel" diff --git a/public/porteus b/public/porteus new file mode 100644 index 0000000000..869890fd58 --- /dev/null +++ b/public/porteus @@ -0,0 +1,9 @@ +# Template file for 'porteus' +OSNAME="porteus" +PRETTY="Porteus" +BASEDOF="Slackware" +DESCRIPTION="Complete linux operating system that is optimized to run from CD, USB flash drive, hard drive, or other bootable storage media" +HOMEPAGE="http://www.porteus.org" +CREDENTIALS="-" +RELEASES="5.01" +EDITIONS="xfce openbox mate lxqt lxde kde gnome cinnamon" diff --git a/public/primtux b/public/primtux new file mode 100644 index 0000000000..8ad10162bd --- /dev/null +++ b/public/primtux @@ -0,0 +1,9 @@ +# Template file for 'primtux' +OSNAME="primtux" +PRETTY="PrimTux" +BASEDOF="Ubuntu" +DESCRIPTION="Complete and customizable GNU/Linux operating system intended for primary school students and suitable even for older hardware" +HOMEPAGE="https://primtux.fr" +CREDENTIALS="-" +RELEASES="7" +EDITIONS="2022-10" diff --git a/public/proxmox-ve b/public/proxmox-ve new file mode 100644 index 0000000000..09e7086aca --- /dev/null +++ b/public/proxmox-ve @@ -0,0 +1,9 @@ +# Template file for 'proxmox-ve' +OSNAME="proxmox-ve" +PRETTY="Proxmox VE" +BASEDOF="Debian" +DESCRIPTION="Proxmox Virtual Environment is a complete, open-source server management platform for enterprise virtualization" +HOMEPAGE="https://proxmox.com/en/proxmox-virtual-environment" +CREDENTIALS="-" +RELEASES="8.3-1 8.2-2 7.4-1 6.4-1 5.4-1" + diff --git a/public/pureos b/public/pureos new file mode 100644 index 0000000000..11a01cad03 --- /dev/null +++ b/public/pureos @@ -0,0 +1,9 @@ +# Template file for 'pureos' +OSNAME="pureos" +PRETTY="PureOS" +BASEDOF="Debian" +DESCRIPTION="Fully free/libre and open source GNU/Linux operating system, endorsed by the Free Software Foundation" +HOMEPAGE="https://www.pureos.net" +CREDENTIALS="-" +RELEASES="10.3" +EDITIONS="plasma gnome" diff --git a/public/reactos b/public/reactos new file mode 100644 index 0000000000..7fee95e8a5 --- /dev/null +++ b/public/reactos @@ -0,0 +1,9 @@ +# Template file for 'reactos' +OSNAME="reactos" +PRETTY="ReactOS" +BASEDOF="-" +DESCRIPTION="Imagine running your favorite Windows applications and drivers in an open-source environment you can trust" +HOMEPAGE="https://reactos.org" +CREDENTIALS="-" +RELEASES="latest" + diff --git a/public/rebornos b/public/rebornos new file mode 100644 index 0000000000..827d4cb41f --- /dev/null +++ b/public/rebornos @@ -0,0 +1,9 @@ +# Template file for 'rebornos' +OSNAME="rebornos" +PRETTY="RebornOS" +BASEDOF="Arch" +DESCRIPTION="Aiming to make Arch Linux as user friendly as possible by providing interface solutions to things you normally have to do in a terminal" +HOMEPAGE="https://rebornos.org" +CREDENTIALS="-" +RELEASES="latest" + diff --git a/public/rhino b/public/rhino new file mode 100644 index 0000000000..8eb8e78f76 --- /dev/null +++ b/public/rhino @@ -0,0 +1,9 @@ +# Template file for 'rhino' +OSNAME="rhino" +PRETTY="Rhino Linux" +BASEDOF="Ubuntu" +DESCRIPTION="Re-invents the Ubuntu experience as a rolling-release distribution built on a stable desktop environment. With Pacstall & XFCE" +HOMEPAGE="https://rhinolinux.org/" +CREDENTIALS="-" +RELEASES="2025.1" + diff --git a/public/rockulinux b/public/rockulinux new file mode 100644 index 0000000000..1a9a1ce6cb --- /dev/null +++ b/public/rockulinux @@ -0,0 +1,9 @@ +# Template file for 'rockulinux' +OSNAME="rockylinux" +PRETTY="Rocky Linux" +BASEDOF="RedHat" +DESCRIPTION="Open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux" +HOMEPAGE="https://rockylinux.org" +CREDENTIALS="-" +RELEASES="9.5 9.4 9.3 9.2 9.1 9.0 8.9 8.8 8.7 8.6 8.5 8.4 8.3" +EDITIONS="minimal dvd boot" diff --git a/public/rockylinux b/public/rockylinux new file mode 100644 index 0000000000..57ce72ac9a --- /dev/null +++ b/public/rockylinux @@ -0,0 +1,9 @@ +# Template file for 'rockylinux' +OSNAME="rockylinux" +PRETTY="Rocky Linux" +BASEDOF="RedHat" +DESCRIPTION="Open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux" +HOMEPAGE="https://rockylinux.org" +CREDENTIALS="-" +RELEASES="9.5 9.4 9.3 9.2 9.1 9.0 8.9 8.8 8.7 8.6 8.5 8.4 8.3" +EDITIONS="minimal dvd boot" diff --git a/public/siduction b/public/siduction new file mode 100644 index 0000000000..05fcd7769b --- /dev/null +++ b/public/siduction @@ -0,0 +1,9 @@ +# Template file for 'siduction' +OSNAME="siduction" +PRETTY="siduction" +BASEDOF="Debian" +DESCRIPTION="Operating system based on the Linux kernel and the GNU project. In addition, there are applications and libraries from Debian" +HOMEPAGE="https://siduction.org" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="xorg xfce nox lxqt kde" diff --git a/public/slackware b/public/slackware new file mode 100644 index 0000000000..d740b3baac --- /dev/null +++ b/public/slackware @@ -0,0 +1,9 @@ +# Template file for 'slackware' +OSNAME="slackware" +PRETTY="slackware" +BASEDOF="-" +DESCRIPTION="Advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities" +HOMEPAGE="http://www.slackware.com" +CREDENTIALS="-" +RELEASES="15.0 14.2 14.1 14.0 13.37" + diff --git a/public/slax b/public/slax new file mode 100644 index 0000000000..c8329a0462 --- /dev/null +++ b/public/slax @@ -0,0 +1,9 @@ +# Template file for 'slax' +OSNAME="slax" +PRETTY="Slax" +BASEDOF="Debian Slackware" +DESCRIPTION="Compact, fast, and modern Linux operating system that combines sleek design with modular approach. With the ability to run directly from a USB flash drive without the need for installation, Slax is truly portable and fits easily in your pocket" +HOMEPAGE="https://www.slax.org" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="slackware debian" diff --git a/public/slint b/public/slint new file mode 100644 index 0000000000..1d7a4822f0 --- /dev/null +++ b/public/slint @@ -0,0 +1,9 @@ +# Template file for 'slint' +OSNAME="slint" +PRETTY="Slint" +BASEDOF="Slackware" +DESCRIPTION="Easy-to-use, versatile, blind-friendly Linux distribution for 64-bit computers. Slint is based on Slackware and borrows tools from Salix" +HOMEPAGE="https://slint.fr" +CREDENTIALS="-" +RELEASES="15.0-5" + diff --git a/public/slitaz b/public/slitaz new file mode 100644 index 0000000000..a5646914f9 --- /dev/null +++ b/public/slitaz @@ -0,0 +1,9 @@ +# Template file for 'slitaz' +OSNAME="slitaz" +PRETTY="SliTaz" +BASEDOF="-" +DESCRIPTION="Simple, fast and low resource Linux OS for servers & desktops" +HOMEPAGE="https://www.slitaz.org" +CREDENTIALS="-" +RELEASES="preinit loram core64 core-5in1 core" + diff --git a/public/solus b/public/solus new file mode 100644 index 0000000000..475f191ba9 --- /dev/null +++ b/public/solus @@ -0,0 +1,9 @@ +# Template file for 'solus' +OSNAME="solus" +PRETTY="Solus" +BASEDOF="-" +DESCRIPTION="Designed for home computing. Every tweak enables us to deliver a cohesive computing experience" +HOMEPAGE="https://getsol.us" +CREDENTIALS="-" +RELEASES="" +EDITIONS="" diff --git a/public/sparkylinux b/public/sparkylinux new file mode 100644 index 0000000000..080ed4b79b --- /dev/null +++ b/public/sparkylinux @@ -0,0 +1,9 @@ +# Template file for 'sparkylinux' +OSNAME="sparkylinux" +PRETTY="SparkyLinux" +BASEDOF="Debian" +DESCRIPTION="Fast, lightweight and fully customizable operating system which offers several versions for different use cases" +HOMEPAGE="https://sparkylinux.org" +CREDENTIALS="-" +RELEASES="7.6" +EDITIONS="xfce minimalgui minimalcli mate lxqt kde" diff --git a/public/spirallinux b/public/spirallinux new file mode 100644 index 0000000000..c288fcf3b8 --- /dev/null +++ b/public/spirallinux @@ -0,0 +1,9 @@ +# Template file for 'spirallinux' +OSNAME="spirallinux" +PRETTY="Spiral Linux" +BASEDOF="Debian" +DESCRIPTION="Selection of Linux spins built from Debian GNU/Linux, with a focus on simplicity and out-of-the-box usability across all the major desktop environments" +HOMEPAGE="https://spirallinux.github.io" +CREDENTIALS="-" +RELEASES="latest" +EDITIONS="XFCE Plasma Mate LXQt Gnome Cinnamon Builder Budgie" diff --git a/public/tails b/public/tails new file mode 100644 index 0000000000..c3c33b9ef3 --- /dev/null +++ b/public/tails @@ -0,0 +1,9 @@ +# Template file for 'tails' +OSNAME="tails" +PRETTY="Tails" +BASEDOF="Debian" +DESCRIPTION="Portable operating system that protects against surveillance and censorship" +HOMEPAGE="https://tails.net" +CREDENTIALS="-" +RELEASES="stable" + diff --git a/public/tinycore b/public/tinycore new file mode 100644 index 0000000000..78e3885ea4 --- /dev/null +++ b/public/tinycore @@ -0,0 +1,9 @@ +# Template file for 'tinycore' +OSNAME="tinycore" +PRETTY="Tiny Core Linux" +BASEDOF="-" +DESCRIPTION="Highly modular based system with community build extensions" +HOMEPAGE="http://www.tinycorelinux.net" +CREDENTIALS="-" +RELEASES="15 14" +EDITIONS="TinyCorePure64 TinyCore CorePure64 CorePlus Core" diff --git a/public/trisquel b/public/trisquel new file mode 100644 index 0000000000..1cb9c49ba9 --- /dev/null +++ b/public/trisquel @@ -0,0 +1,9 @@ +# Template file for 'trisquel' +OSNAME="trisquel" +PRETTY="Trisquel" +BASEDOF="Ubuntu" +DESCRIPTION="Fully free operating system for home users, small enterprises and educational centers" +HOMEPAGE="https://trisquel.info" +CREDENTIALS="-" +RELEASES="11.0 10.0.1" +EDITIONS="sugar mate lxde kde" diff --git a/public/truenas-core b/public/truenas-core new file mode 100644 index 0000000000..831631fdb9 --- /dev/null +++ b/public/truenas-core @@ -0,0 +1,9 @@ +# Template file for 'truenas-core' +OSNAME="truenas-core" +PRETTY="TrueNAS Core" +BASEDOF="FreeBSD" +DESCRIPTION="World’s most popular storage OS because it gives you the power to build your own professional-grade storage system to use in a variety of data-intensive applications without any software costs" +HOMEPAGE="https://www.truenas.com/truenas-core" +CREDENTIALS="-" +RELEASES="13" + diff --git a/public/truenas-scale b/public/truenas-scale new file mode 100644 index 0000000000..3e557c5c78 --- /dev/null +++ b/public/truenas-scale @@ -0,0 +1,9 @@ +# Template file for 'truenas-scale' +OSNAME="truenas-scale" +PRETTY="TrueNAS Scale" +BASEDOF="Debian" +DESCRIPTION="Open Source Hyperconverged Infrastructure (HCI) solution. In addition to powerful scale-out storage capabilities, SCALE adds Linux Containers and VMs (KVM) so apps run closer to data" +HOMEPAGE="https://www.truenas.com/truenas-scale" +CREDENTIALS="-" +RELEASES="24" + diff --git a/public/tuxedo-os b/public/tuxedo-os new file mode 100644 index 0000000000..e08766724a --- /dev/null +++ b/public/tuxedo-os @@ -0,0 +1,9 @@ +# Template file for 'tuxedo-os' +OSNAME="tuxedo-os" +PRETTY="Tuxedo OS" +BASEDOF="Ubuntu" +DESCRIPTION="KDE Ubuntu LTS designed to go with their Linux hardware" +HOMEPAGE="https://www.tuxedocomputers.com" +CREDENTIALS="-" +RELEASES="current" + diff --git a/public/ubuntu b/public/ubuntu new file mode 100644 index 0000000000..a946e351f4 --- /dev/null +++ b/public/ubuntu @@ -0,0 +1,9 @@ +# Template file for 'ubuntu' +OSNAME="ubuntu" +PRETTY="Ubuntu" +BASEDOF="Debian" +DESCRIPTION="Complete desktop Linux operating system, freely available with both community and professional support" +HOMEPAGE="https://ubuntu.com" +CREDENTIALS="-" +RELEASES="daily-live 24.10 24.04 22.04 20.04 18.04 16.04 14.04" + diff --git a/public/ubuntu-server b/public/ubuntu-server new file mode 100644 index 0000000000..bbd660068d --- /dev/null +++ b/public/ubuntu-server @@ -0,0 +1,9 @@ +# Template file for 'ubuntu-server' +OSNAME="ubuntu-server" +PRETTY="Ubuntu Server" +BASEDOF="Debian" +DESCRIPTION="Brings economic and technical scalability to your datacentre, public or private. Whether you want to deploy an OpenStack cloud, a Kubernetes cluster or a 50,000-node render farm, Ubuntu Server delivers the best value scale-out performance available" +HOMEPAGE="https://ubuntu.com/server" +CREDENTIALS="-" +RELEASES="daily-live 24.10 24.04 22.04 20.04 18.04 16.04 14.04" + diff --git a/public/vanillaos b/public/vanillaos new file mode 100644 index 0000000000..ace502d393 --- /dev/null +++ b/public/vanillaos @@ -0,0 +1,9 @@ +# Template file for 'vanillaos' +OSNAME="vanillaos" +PRETTY="Vanilla OS" +BASEDOF="Ubuntu" +DESCRIPTION="Designed to be a reliable and productive operating system for your daily work" +HOMEPAGE="https://vanillaos.org" +CREDENTIALS="-" +RELEASES="22.10-r8 22.10-r7.5 22.10-r7 22.10-r6 22.10-r5 22.10-r4 22.10-r3 22.10-r2 22.10-r1 22.10 2.0" + diff --git a/public/void b/public/void new file mode 100644 index 0000000000..83d4ac52b2 --- /dev/null +++ b/public/void @@ -0,0 +1,9 @@ +# Template file for 'void' +OSNAME="void" +PRETTY="Void Linux" +BASEDOF="-" +DESCRIPTION="General purpose operating system. Its package system allows you to quickly install, update and remove software; software is provided in binary packages or can be built directly from sources" +HOMEPAGE="https://voidlinux.org" +CREDENTIALS="anon:voidlinux root:voidlinux" +RELEASES="20250202 20240314 20230628" +EDITIONS="xfce-musl xfce-glibc musl glibc" diff --git a/public/vxlinux b/public/vxlinux new file mode 100644 index 0000000000..fcdd44d7e1 --- /dev/null +++ b/public/vxlinux @@ -0,0 +1,9 @@ +# Template file for 'vxlinux' +OSNAME="vxlinux" +PRETTY="VX Linux" +BASEDOF="Void" +DESCRIPTION="Pre-configured, secure systemd-free Plasma desktop with focus on convenience, performance and simplicity. Based on the excellent Void Linux" +HOMEPAGE="https://vxlinux.org" +CREDENTIALS="-" +RELEASES="6.1.5" + diff --git a/public/windows b/public/windows new file mode 100644 index 0000000000..0dfa0c2b85 --- /dev/null +++ b/public/windows @@ -0,0 +1,9 @@ +# Template file for 'windows' +OSNAME="windows" +PRETTY="Windows" +BASEDOF="-" +DESCRIPTION="Whether you’re gaming, studying, running a business, or running a household, Windows helps you get it done" +HOMEPAGE="https://www.microsoft.com/en-us/windows" +CREDENTIALS="-" +RELEASES="11 10" + diff --git a/public/windows-server b/public/windows-server new file mode 100644 index 0000000000..f7a65e4cf3 --- /dev/null +++ b/public/windows-server @@ -0,0 +1,9 @@ +# Template file for 'windows-server' +OSNAME="windows-server" +PRETTY="Windows Server" +BASEDOF="-" +DESCRIPTION="Platform for building an infrastructure of connected applications, networks, and web services" +HOMEPAGE="https://www.microsoft.com/en-us/windows-server" +CREDENTIALS="-" +RELEASES="2022 2019 2016" + diff --git a/public/zorin b/public/zorin new file mode 100644 index 0000000000..b04679353d --- /dev/null +++ b/public/zorin @@ -0,0 +1,9 @@ +# Template file for 'zorin' +OSNAME="zorin" +PRETTY="Zorin OS" +BASEDOF="Ubuntu" +DESCRIPTION="Alternative to Windows and macOS designed to make your computer faster, more powerful, secure, and privacy-respecting" +HOMEPAGE="https://zorin.com/os" +CREDENTIALS="-" +RELEASES="17 16" +EDITIONS="lite64 education64 core64" diff --git a/quickemu b/quickemu index cb30c870b0..b9351e0ec0 100755 --- a/quickemu +++ b/quickemu @@ -1,8 +1,16 @@ #!/usr/bin/env bash + +export TEXTDOMAIN=quickemu +if [[ -n $Q_DEBUG ]]; then + export TEXTDOMAINDIR="${PWD}/locale" +else + export TEXTDOMAINDIR=/usr/share/locale +fi + export LC_ALL=C if ((BASH_VERSINFO[0] < 4)); then - echo "Sorry, you need bash 4.0 or newer to run this script." + echo $"Sorry, you need bash 4.0 or newer to run this script." exit 1 fi @@ -15,7 +23,7 @@ function ignore_msrs_always() { sudo update-initramfs -k all -u fi else - echo "ERROR! /etc/modprobe.d was not found, I don't know how to configure this system." + echo $"ERROR! /etc/modprobe.d was not found, I don't know how to configure this system." exit 1 fi } @@ -27,13 +35,13 @@ function ignore_msrs_alert() { elif [ -e /sys/module/kvm/parameters/ignore_msrs ]; then ignore_msrs=$(cat /sys/module/kvm/parameters/ignore_msrs) if [ "${ignore_msrs}" == "N" ]; then - echo " - MSR: WARNING! Ignoring unhandled Model-Specific Registers is disabled." + echo $" - MSR: WARNING! Ignoring unhandled Model-Specific Registers is disabled." echo echo " echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs" echo - echo " If you are unable to run macOS or Windows VMs then run the above 👆" - echo " This will enable ignoring of unhandled MSRs until you reboot the host." - echo " You can make this change permanent by running: 'quickemu --ignore-msrs-always'" + echo $" If you are unable to run macOS or Windows VMs then run the above 👆" + echo $" This will enable ignoring of unhandled MSRs until you reboot the host." + echo $" You can make this change permanent by running: 'quickemu --ignore-msrs-always'" fi fi } @@ -42,107 +50,107 @@ function delete_shortcut() { local SHORTCUT_DIR="${HOME}/.local/share/applications" if [ -e "${SHORTCUT_DIR}/${VMNAME}.desktop" ]; then rm "${SHORTCUT_DIR}/${VMNAME}.desktop" - echo " - Deleted ${SHORTCUT_DIR}/${VMNAME}.desktop" + echo $" - Deleted ${SHORTCUT_DIR}/${VMNAME}.desktop" fi } function delete_disk() { - echo "Deleting ${VMNAME} virtual hard disk" + echo $"Deleting ${VMNAME} virtual hard disk" if [ -e "${disk_img}" ]; then rm "${disk_img}" >/dev/null 2>&1 # Remove any EFI vars, but not for macOS rm "${VMDIR}"/OVMF_VARS*.fd >/dev/null 2>&1 rm "${VMDIR}/${VMNAME}-vars.fd" >/dev/null 2>&1 - echo " - Deleted ${disk_img}" + echo $" - Deleted ${disk_img}" delete_shortcut else - echo " - ${disk_img} not found. Doing nothing." + echo $" - ${disk_img} not found. Doing nothing." fi } function delete_vm() { - echo "Deleting ${VMNAME} completely" + echo $"Deleting ${VMNAME} completely" if [ -d "${VMDIR}" ]; then rm -rf "${VMDIR}" rm "${VM}" - echo " - Deleted ${VM} and ${VMDIR}/" + echo $" - Deleted ${VM} and ${VMDIR}/" delete_shortcut else - echo " - ${VMDIR} not found. Doing nothing." + echo $" - ${VMDIR} not found. Doing nothing." fi } function kill_vm() { - echo "Killing ${VMNAME}" + echo $"Killing ${VMNAME}" if [ -z "${VM_PID}" ]; then - echo " - ${VMNAME} is not running." + echo $" - ${VMNAME} is not running." rm -f "${VMDIR}/${VMNAME}.pid" elif [ -n "${VM_PID}" ]; then if kill -9 "${VM_PID}" > /dev/null 2>&1; then - echo " - ${VMNAME} (${VM_PID}) killed." + echo $" - ${VMNAME} (${VM_PID}) killed." rm -f "${VMDIR}/${VMNAME}.pid" else - echo " - ${VMNAME} (${VM_PID}) was not killed." + echo $" - ${VMNAME} (${VM_PID}) was not killed." fi elif [ ! -r "${VMDIR}/${VMNAME}.pid" ]; then - echo " - ${VMNAME} has no ${VMDIR}/${VMNAME}.pid" + echo $" - ${VMNAME} has no ${VMDIR}/${VMNAME}.pid" fi } function snapshot_apply() { - echo "Snapshot apply to ${disk_img}" + echo $"Snapshot apply to ${disk_img}" local TAG="${1}" if [ -z "${TAG}" ]; then - echo " - ERROR! No snapshot tag provided." + echo $" - ERROR! No snapshot tag provided." exit fi if [ -e "${disk_img}" ]; then if ${QEMU_IMG} snapshot -q -a "${TAG}" "${disk_img}"; then - echo " - Applied snapshot '${TAG}' to ${disk_img}" + echo $" - Applied snapshot '${TAG}' to ${disk_img}" else - echo " - ERROR! Failed to apply snapshot '${TAG}' to ${disk_img}" + echo $" - ERROR! Failed to apply snapshot '${TAG}' to ${disk_img}" fi else - echo " - NOTE! ${disk_img} not found. Doing nothing." + echo $" - NOTE! ${disk_img} not found. Doing nothing." fi } function snapshot_create() { - echo "Snapshotting ${disk_img}" + echo $"Snapshotting ${disk_img}" local TAG="${1}" if [ -z "${TAG}" ]; then - echo "- ERROR! No snapshot tag provided." + echo $"- ERROR! No snapshot tag provided." exit fi if [ -e "${disk_img}" ]; then if ${QEMU_IMG} snapshot -q -c "${TAG}" "${disk_img}"; then - echo " - Created snapshot '${TAG}' for ${disk_img}" + echo $" - Created snapshot '${TAG}' for ${disk_img}" else - echo " - ERROR! Failed to create snapshot '${TAG}' for ${disk_img}" + echo $" - ERROR! Failed to create snapshot '${TAG}' for ${disk_img}" fi else - echo " - NOTE! ${disk_img} not found. Doing nothing." + echo $" - NOTE! ${disk_img} not found. Doing nothing." fi } function snapshot_delete() { - echo "Snapshot removal ${disk_img}" + echo $"Snapshot removal ${disk_img}" local TAG="${1}" if [ -z "${TAG}" ]; then - echo " - ERROR! No snapshot tag provided." + echo $" - ERROR! No snapshot tag provided." exit fi if [ -e "${disk_img}" ]; then if ${QEMU_IMG} snapshot -q -d "${TAG}" "${disk_img}"; then - echo " - Deleted snapshot '${TAG}' from ${disk_img}" + echo $" - Deleted snapshot '${TAG}' from ${disk_img}" else - echo " - ERROR! Failed to delete snapshot '${TAG}' from ${disk_img}" + echo $" - ERROR! Failed to delete snapshot '${TAG}' from ${disk_img}" fi else - echo " - NOTE! ${disk_img} not found. Doing nothing." + echo $" - NOTE! ${disk_img} not found. Doing nothing." fi } @@ -178,7 +186,7 @@ function configure_usb() { # Have any USB devices been requested for pass-through? if (( ${#usb_devices[@]} )); then - echo " - USB: Host pass-through requested:" + echo $" - USB: Host pass-through requested:" for DEVICE in "${usb_devices[@]}"; do VENDOR_ID=$(echo "${DEVICE}" | cut -d':' -f1) PRODUCT_ID=$(echo "${DEVICE}" | cut -d':' -f2) @@ -186,12 +194,12 @@ function configure_usb() { USB_DEV=$(lsusb -d "${VENDOR_ID}:${PRODUCT_ID}" | cut -d' ' -f4 | cut -d':' -f1) USB_NAME=$(lsusb -d "${VENDOR_ID}:${PRODUCT_ID}" | cut -d' ' -f7-) if [ -z "${USB_NAME}" ]; then - echo " ! USB device ${VENDOR_ID}:${PRODUCT_ID} not found. Check your configuration" + echo $" ! USB device ${VENDOR_ID}:${PRODUCT_ID} not found. Check your configuration" continue elif [ -w "/dev/bus/usb/${USB_BUS}/${USB_DEV}" ]; then - echo " o ${USB_NAME} on bus ${USB_BUS} device ${USB_DEV} is accessible." + echo $" o ${USB_NAME} on bus ${USB_BUS} device ${USB_DEV} is accessible." else - echo " x ${USB_NAME} on bus ${USB_BUS} device ${USB_DEV} needs permission changes:" + echo $" x ${USB_NAME} on bus ${USB_BUS} device ${USB_DEV} needs permission changes:" echo " sudo chown -v root:${USER} /dev/bus/usb/${USB_BUS}/${USB_DEV}" USB_NOT_READY=1 fi @@ -199,7 +207,7 @@ function configure_usb() { done if [ "${USB_NOT_READY}" -eq 1 ]; then - echo " ERROR! USB permission changes are required 👆" + echo $" ERROR! USB permission changes are required 👆" exit 1 fi fi @@ -212,7 +220,7 @@ function get_nproc() { elif command -v sysctl &>/dev/null; then sysctl -n hw.ncpu else - echo "ERROR! Unable to determine the number of processing units." + echo $"ERROR! Unable to determine the number of processing units." exit 1 fi } @@ -233,7 +241,7 @@ function get_cpu_info() { sysctl -n machdep.cpu.vendor | sed 's/ //g' fi else - echo "ERROR! Could not find macOS translation for ${INFO_NAME}" + echo $"ERROR! Could not find macOS translation for ${INFO_NAME}" exit 1 fi else @@ -311,7 +319,7 @@ function efi_vars() { if [ -e "${VARS_IN}" ]; then cp "${VARS_IN}" "${VARS_OUT}" else - echo "ERROR! ${VARS_IN} was not found. Please install edk2." + echo $"ERROR! ${VARS_IN} was not found. Please install edk2." exit 1 fi fi @@ -374,12 +382,12 @@ function configure_cpu() { # A CPU with Intel VT-x / AMD SVM support is required if [ "${HOST_CPU_VENDOR}" == "GenuineIntel" ]; then if ! check_cpu_flag vmx; then - echo "ERROR! Intel VT-x support is required." + echo $"ERROR! Intel VT-x support is required." exit 1 fi elif [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then if ! check_cpu_flag svm; then - echo "ERROR! AMD SVM support is required." + echo $"ERROR! AMD SVM support is required." exit 1 fi fi @@ -414,15 +422,15 @@ function configure_cpu() { # A CPU with fma is required for Metal support # A CPU with invtsc is required for macOS to boot case ${macos_release} in - ventura|sonoma) + ventura|sonoma|sequoia) # A CPU with AVX2 support is required for >= macOS Ventura if check_cpu_flag sse4_2 && check_cpu_flag avx2; then if [ "${HOST_CPU_VENDOR}" != "GenuineIntel" ] && [ -z "${HYPERVISOR}" ]; then CPU+=",+avx2,+sse4.2" fi else - echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.2 and AVX2 support." - echo " Try macOS Monterey or Big Sur." + echo $"ERROR! macOS ${macos_release} requires a CPU with SSE 4.2 and AVX2 support." + echo $" Try macOS Monterey or Big Sur." exit 1 fi;; catalina|big-sur|monterey) @@ -432,7 +440,7 @@ function configure_cpu() { CPU+=",+sse4.2" fi else - echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.2 support." + echo $"ERROR! macOS ${macos_release} requires a CPU with SSE 4.2 support." exit 1 fi;; *) @@ -442,7 +450,7 @@ function configure_cpu() { CPU+=",+sse4.1" fi else - echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 support." + echo $"ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 support." exit 1 fi;; esac @@ -547,8 +555,8 @@ function configure_cpu() { fi SMP="-smp cores=${GUEST_CPU_LOGICAL_CORES},threads=${GUEST_CPU_THREADS},sockets=${HOST_CPU_SOCKETS}" - echo " - CPU: ${HOST_CPU_MODEL}" - echo " - CPU VM: ${CPU_MODEL%%,*}, ${HOST_CPU_SOCKETS} Socket(s), ${GUEST_CPU_LOGICAL_CORES} Core(s), ${GUEST_CPU_THREADS} Thread(s)" + echo $" - CPU: ${HOST_CPU_MODEL}" + echo $" - CPU VM: ${CPU_MODEL%%,*}, ${HOST_CPU_SOCKETS} Socket(s), ${GUEST_CPU_LOGICAL_CORES} Core(s), ${GUEST_CPU_THREADS} Thread(s)" if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ] || [ "${guest_os}" == "windows-server" ]; then # Display MSRs alert if the guest is macOS or windows @@ -580,7 +588,7 @@ function configure_ram() { else RAM_VM="${ram}" fi - echo " - RAM VM: ${RAM_VM} RAM" + echo $" - RAM VM: ${RAM_VM} RAM" case "${guest_os}" in windows|windows-server) @@ -595,11 +603,11 @@ function configure_ram() { if [ -n "${min_ram}" ] && [ "${RAM_VM//G/}" -lt "${min_ram}" ]; then if [ -z "${ram}" ]; then - echo " ERROR! The guest virtual machine has been allocated insufficient RAM to run ${OS_PRETTY_NAME}." - echo " You can override the guest RAM allocation by adding 'ram=${min_ram}G' to ${VM}" + echo $" ERROR! The guest virtual machine has been allocated insufficient RAM to run ${OS_PRETTY_NAME}." + echo $" You can override the guest RAM allocation by adding 'ram=${min_ram}G' to ${VM}" exit 1 else - echo " WARNING! You have allocated less than the recommended amount of RAM to run ${OS_PRETTY_NAME}." + echo $" WARNING! You have allocated less than the recommended amount of RAM to run ${OS_PRETTY_NAME}." fi fi } @@ -628,8 +636,8 @@ function configure_bios() { fi if [ -n "${MAC_MISSING}" ]; then - echo "ERROR! macOS ${MAC_MISSING} was not found." - echo " Use 'quickget' to download the required files." + echo $"ERROR! macOS ${MAC_MISSING} was not found." + echo $" Use 'quickget' to download the required files." exit 1 fi BOOT_STATUS="EFI (macOS), OVMF ($(basename "${EFI_CODE}")), SecureBoot (${secureboot})." @@ -700,16 +708,16 @@ function configure_bios() { fi if [ -z "${EFI_CODE}" ] || [ ! -e "${EFI_CODE}" ]; then if [ "${secureboot}" == "on" ]; then - echo "ERROR! SecureBoot was requested but no SecureBoot capable firmware was found." + echo $"ERROR! SecureBoot was requested but no SecureBoot capable firmware was found." else - echo "ERROR! EFI boot requested but no EFI firmware found." + echo $"ERROR! EFI boot requested but no EFI firmware found." fi - echo " Please install OVMF firmware." + echo $" Please install OVMF firmware." exit 1 fi if [ -n "${EFI_EXTRA_VARS}" ]; then if [ ! -e "${EFI_EXTRA_VARS}" ]; then - echo " - EFI: ERROR! EFI_EXTRA_VARS file ${EFI_EXTRA_VARS} does not exist." + echo $" - EFI: ERROR! EFI_EXTRA_VARS file ${EFI_EXTRA_VARS} does not exist." exit 1 fi efi_vars "${EFI_EXTRA_VARS}" "${EFI_VARS}" @@ -717,16 +725,16 @@ function configure_bios() { # Make sure EFI_VARS references an actual, writeable, file if [ ! -f "${EFI_VARS}" ] || [ ! -w "${EFI_VARS}" ]; then - echo " - EFI: ERROR! ${EFI_VARS} is not a regular file or not writeable." - echo " Deleting ${EFI_VARS}. Please re-run quickemu." + echo $" - EFI: ERROR! ${EFI_VARS} is not a regular file or not writeable." + echo $" Deleting ${EFI_VARS}. Please re-run quickemu." rm -f "${EFI_VARS}" exit 1 fi # If EFI_CODE references a symlink, resolve it to the real file. if [ -L "${EFI_CODE}" ]; then - echo " - EFI: WARNING! ${EFI_CODE} is a symlink." - echo -n " Resolving to... " + echo $" - EFI: WARNING! ${EFI_CODE} is a symlink." + echo $-n " Resolving to... " EFI_CODE=$(realpath "${EFI_CODE}") echo "${EFI_CODE}" fi @@ -737,7 +745,7 @@ function configure_bios() { secureboot="off" fi - echo " - BOOT: ${BOOT_STATUS}" + echo $" - BOOT: ${BOOT_STATUS}" } function configure_os_quirks() { @@ -766,7 +774,7 @@ function configure_os_quirks() { # * VirtIO Memory Balloning is supported since Big Sur (https://pmhahn.github.io/virtio-balloon/) # * VirtIO RNG is supported since Big Sur, but exposed to all guests by default. case ${macos_release} in - big-sur|monterey|ventura|sonoma) + big-sur|monterey|ventura|sonoma|sequoia) BALLOON="-device virtio-balloon" MAC_DISK_DEV="virtio-blk-pci" NET_DEVICE="virtio-net" @@ -793,13 +801,13 @@ function configure_os_quirks() { function configure_storage() { local create_options="" - echo " - Disk: ${disk_img} (${disk_size})" + echo $" - Disk: ${disk_img} (${disk_size})" if [ ! -f "${disk_img}" ]; then # If there is no disk image, create a new image. mkdir -p "${VMDIR}" 2>/dev/null case ${preallocation} in off|metadata|falloc|full) true;; - *) echo "ERROR! ${preallocation} is an unsupported disk preallocation option." + *) echo $"ERROR! ${preallocation} is an unsupported disk preallocation option." exit 1;; esac @@ -811,27 +819,27 @@ function configure_storage() { # https://blog.programster.org/qcow2-performance if ! ${QEMU_IMG} create -q -f "${disk_format}" -o "${create_options=}" "${disk_img}" "${disk_size}"; then - echo "ERROR! Failed to create ${disk_img} using ${disk_format} format." + echo $"ERROR! Failed to create ${disk_img} using ${disk_format} format." exit 1 fi if [ -z "${iso}" ] && [ -z "${img}" ]; then - echo "ERROR! You haven't specified a .iso or .img image to boot from." + echo $"ERROR! You haven't specified a .iso or .img image to boot from." exit 1 fi - echo " Just created, booting from ${iso}${img}" + echo $" Just created, booting from ${iso}${img}" DISK_USED="no" elif [ -e "${disk_img}" ]; then # If the VM is not running, check for disk related issues. if [ -z "${VM_PID}" ]; then # Check there isn't already a process attached to the disk image. if ! ${QEMU_IMG} info "${disk_img}" >/dev/null; then - echo " Failed to get \"write\" lock. Is another process using the disk?" + echo $" Failed to get \"write\" lock. Is another process using the disk?" exit 1 fi else if ! ${QEMU_IMG} check -q "${disk_img}"; then - echo " Disk integrity check failed. Please run qemu-img check --help." + echo $" Disk integrity check failed. Please run qemu-img check --help." echo "${QEMU_IMG}" check "${disk_img}" exit 1 @@ -842,9 +850,9 @@ function configure_storage() { if [ "${preallocation}" == "off" ]; then DISK_CURR_SIZE=$(${STAT} -c%s "${disk_img}") if [ "${DISK_CURR_SIZE}" -le "${DISK_MIN_SIZE}" ]; then - echo " Looks unused, booting from ${iso}${img}" + echo $" Looks unused, booting from ${iso}${img}" if [ -z "${iso}" ] && [ -z "${img}" ]; then - echo "ERROR! You haven't specified a .iso or .img image to boot from." + echo $"ERROR! You haven't specified a .iso or .img image to boot from." exit 1 fi else @@ -864,25 +872,30 @@ function configure_storage() { # Has the status quo been requested? if [ "${STATUS_QUO}" == "-snapshot" ]; then if [ -z "${img}" ] && [ -z "${iso}" ]; then - echo " Existing disk state will be preserved, no writes will be committed." + echo $" Existing disk state will be preserved, no writes will be committed." fi fi if [ -n "${iso}" ] && [ -e "${iso}" ]; then - echo " - Boot ISO: ${iso}" + echo $" - Boot ISO: ${iso}" elif [ -n "${img}" ] && [ -e "${img}" ]; then - echo " - Recovery: ${img}" + echo $" - Recovery: ${img}" fi if [ -n "${fixed_iso}" ] && [ -e "${fixed_iso}" ]; then - echo " - CD-ROM: ${fixed_iso}" + echo $" - CD-ROM: ${fixed_iso}" fi } function configure_display() { # Determine which audio driver use between Pulseaudio or ALSA local AUDIO_DRIVER="pa" - if ! command -v pacmd >/dev/null 2>&1 ; then + if pidof pipewire >/dev/null 2>&1; then + # QEMU's pipewire audio backend was added in version 8.1 + if [ "${QEMU_VER_SHORT}" -ge 81 ]; then + AUDIO_DRIVER="pipewire" + fi + elif ! pidof pulseaudio >/dev/null 2>&1; then AUDIO_DRIVER="alsa" fi @@ -942,9 +955,9 @@ function configure_display() { else DISPLAY_DEVICE="${DISPLAY_DEVICE},virgl=on" fi - echo -n " - Display: ${display^^}, ${DISPLAY_DEVICE}, GL (${gl}), VirGL (on)" + echo -n $" - Display: ${display^^}, ${DISPLAY_DEVICE}, GL (${gl}), VirGL (on)" else - echo -n " - Display: ${display^^}, ${DISPLAY_DEVICE}, GL (${gl}), VirGL (off)" + echo -n $" - Display: ${display^^}, ${DISPLAY_DEVICE}, GL (${gl}), VirGL (off)" fi # Build the video configuration @@ -989,7 +1002,7 @@ function configure_audio() { ac97|es1370|sb16) SOUND="-device ${sound_card},audiodev=audio0";; none) SOUND="";; esac - echo " - Sound: ${sound_card} (${sound_duplex})" + echo $" - Sound: ${sound_card} (${sound_duplex})" } function configure_ports() { @@ -1003,14 +1016,14 @@ function configure_ports() { if [ -n "${ssh_port}" ]; then echo "ssh,${ssh_port}" >> "${VMDIR}/${VMNAME}.ports" NET="${NET},hostfwd=tcp::${ssh_port}-:22" - echo " - ssh: On host: ssh user@localhost -p ${ssh_port}" + echo $" - ssh: On host: ssh user@localhost -p ${ssh_port}" else - echo " - ssh: All ssh ports have been exhausted." + echo $" - ssh: All ssh ports have been exhausted." fi # Have any port forwards been requested? if (( ${#port_forwards[@]} )); then - echo " - PORTS: Port forwards requested:" + echo $" - PORTS: Port forwards requested:" for FORWARD in "${port_forwards[@]}"; do HOST_PORT=$(echo "${FORWARD}" | cut -d':' -f1) GUEST_PORT=$(echo "${FORWARD}" | cut -d':' -f2) @@ -1047,17 +1060,17 @@ function configure_ports() { fi if [ -z "${spice_port}" ]; then - echo " - SPICE: All SPICE ports have been exhausted." + echo $" - SPICE: All SPICE ports have been exhausted." if [ "${display}" == "none" ] || [ "${display}" == "spice" ] || [ "${display}" == "spice-app" ]; then - echo " ERROR! Requested SPICE display, but no SPICE ports are free." + echo $" ERROR! Requested SPICE display, but no SPICE ports are free." exit 1 fi else if [ "${display}" == "spice-app" ]; then - echo " - SPICE: Enabled" + echo $" - SPICE: Enabled" else echo "spice,${spice_port}" >> "${VMDIR}/${VMNAME}.ports" - echo -n " - SPICE: On host: spicy --title \"${VMNAME}\" --port ${spice_port}" + echo $-n " - SPICE: On host: spicy --title \"${VMNAME}\" --port ${spice_port}" if [ "${guest_os}" != "macos" ] && [ -n "${PUBLIC}" ]; then echo -n " --spice-shared-dir ${PUBLIC}" fi @@ -1075,15 +1088,15 @@ function configure_file_sharing() { macos) if [ "${display}" == "none" ] || [ "${display}" == "spice" ] || [ "${display}" == "spice-app" ]; then # Reference: https://gitlab.gnome.org/GNOME/phodav/-/issues/5 - echo " - WebDAV: On guest: build spice-webdavd (https://gitlab.gnome.org/GNOME/phodav/-/merge_requests/24)" - echo " - WebDAV: On guest: Finder -> Connect to Server -> http://localhost:9843/" + echo $" - WebDAV: On guest: build spice-webdavd (https://gitlab.gnome.org/GNOME/phodav/-/merge_requests/24)" + echo $" - WebDAV: On guest: Finder -> Connect to Server -> http://localhost:9843/" fi;; - *) echo " - WebDAV: On guest: dav://localhost:9843/";; + *) echo $" - WebDAV: On guest: dav://localhost:9843/";; esac # 9P if [ "${guest_os}" != "windows" ] || [ "${guest_os}" == "windows-server" ]; then - echo -n " - 9P: On guest: " + echo -n $" - 9P: On guest: " if [ "${guest_os}" == "linux" ]; then echo "sudo mount -t 9p -o trans=virtio,version=9p2000.L,msize=104857600 ${PUBLIC_TAG} ~/$(basename "${PUBLIC}")" elif [ "${guest_os}" == "macos" ]; then @@ -1091,8 +1104,8 @@ function configure_file_sharing() { # macOS. Test if it is world writeable, and prompt what to do if not. echo "sudo mount_9p ${PUBLIC_TAG}" if [ "${PUBLIC_PERMS}" != "drwxrwxrwx" ]; then - echo " - 9P: On host: chmod 777 ${PUBLIC}" - echo " Required for macOS integration 👆" + echo $" - 9P: On host: chmod 777 ${PUBLIC}" + echo $" Required for macOS integration 👆" fi fi fi @@ -1102,7 +1115,7 @@ function configure_file_sharing() { # since /usr/sbin/smbd may not be in the PATH. if [ -x "$(command -v smbd)" ] || [ -x "/usr/sbin/smbd" ]; then NET+=",smb=${PUBLIC}" - echo " - smbd: On guest: smb://10.0.2.4/qemu" + echo $" - smbd: On guest: smb://10.0.2.4/qemu" fi fi } @@ -1119,7 +1132,7 @@ function configure_tpm() { --tpm2) echo "${SWTPM} ${tpm_args[*]} &" >> "${VMDIR}/${VMNAME}.sh" ${SWTPM} "${tpm_args[@]}" >> "${VMDIR}/${VMNAME}.log" & - echo " - TPM: ${VMDIR}/${VMNAME}.swtpm-sock (${!})" + echo $" - TPM: ${VMDIR}/${VMNAME}.swtpm-sock (${!})" sleep 0.25 fi } @@ -1172,8 +1185,8 @@ function vm_boot() { OS_RELEASE=$(grep PRETTY_NAME /etc/os-release | cut -d'"' -f2) fi - echo "Quickemu ${VERSION} using ${QEMU} v${QEMU_VER_LONG}" - echo " - Host: ${OS_RELEASE} running ${KERNEL_NAME} ${KERNEL_VER} ${KERNEL_NODE}" + echo $"Quickemu ${VERSION} using ${QEMU} v${QEMU_VER_LONG}" + echo $" - Host: ${OS_RELEASE} running ${KERNEL_NAME} ${KERNEL_VER} ${KERNEL_NODE}" # Force to lowercase. boot=${boot,,} @@ -1182,6 +1195,8 @@ function vm_boot() { # Set the hostname of the VM NET="user,hostname=${VMNAME}" + echo "#!/usr/bin/env bash" > "${VMDIR}/${VMNAME}.sh" + configure_cpu configure_ram configure_bios @@ -1194,8 +1209,6 @@ function vm_boot() { configure_usb configure_tpm - echo "#!/usr/bin/env bash" > "${VMDIR}/${VMNAME}.sh" - # Changing process name is not supported on macOS if [ "${OS_KERNEL}" == "Linux" ]; then # shellcheck disable=SC2054,SC2206,SC2140 @@ -1251,7 +1264,7 @@ function vm_boot() { args+=(-chardev spicevmc,id=ccid,name=smartcard -device ccid-card-passthru,chardev=ccid) else - echo " - WARNING! ${QEMU} or SPICE was not compiled with support for smartcard devices" + echo $" - WARNING! ${QEMU} or SPICE was not compiled with support for smartcard devices" fi fi @@ -1266,7 +1279,7 @@ function vm_boot() { # add nothing : else - echo " - WARNING! Unknown usb-controller value: '${usb_controller}'" + echo $" - WARNING! Unknown usb-controller value: '${usb_controller}'" fi # setup keyboard @@ -1281,7 +1294,7 @@ function vm_boot() { # add nothing, default is ps/2 keyboard : else - echo " - WARNING! Unknown keyboard value: '${keyboard}'; Fallback to ps2" + echo $" - WARNING! Unknown keyboard value: '${keyboard}'; Fallback to ps2" fi # setup keyboard_layout @@ -1298,7 +1311,7 @@ function vm_boot() { # -device usb-braille,id=usbbrl,chardev=brltty) args+=(-usbdevice braille) else - echo " - WARNING! ${QEMU} does not support -chardev braille " + echo $" - WARNING! ${QEMU} does not support -chardev braille " fi fi @@ -1317,7 +1330,7 @@ function vm_boot() { # add nothing, default is ps/2 mouse : else - echo " - WARNING! Unknown mouse value: '${mouse}'; Falling back to ps2" + echo $" - WARNING! Unknown mouse value: '${mouse}'; Falling back to ps2" fi # setup audio @@ -1332,15 +1345,15 @@ function vm_boot() { if [ "${network}" == "none" ]; then # Disable all networking - echo " - Network: Disabled" + echo $" - Network: Disabled" args+=(-nic none) elif [ "${network}" == "restrict" ]; then - echo " - Network: Restricted (${NET_DEVICE})" + echo $" - Network: Restricted (${NET_DEVICE})" # shellcheck disable=SC2054,SC2206 args+=(-device ${NET_DEVICE},netdev=nic -netdev ${NET},restrict=y,id=nic) elif [ -n "${network}" ]; then # Enable bridge mode networking - echo " - Network: Bridged (${network})" + echo $" - Network: Bridged (${network})" # If a persistent MAC address is provided, use it. local MAC="" @@ -1351,7 +1364,7 @@ function vm_boot() { # shellcheck disable=SC2054,SC2206 args+=(-nic bridge,br=${network},model=virtio-net-pci${MAC}) else - echo " - Network: User (${NET_DEVICE})" + echo $" - Network: User (${NET_DEVICE})" # shellcheck disable=SC2054,SC2206 args+=(-device ${NET_DEVICE},netdev=nic -netdev ${NET},id=nic) fi @@ -1468,57 +1481,57 @@ function vm_boot() { if [ "${monitor}" == "none" ]; then args+=(-monitor none) - echo " - Monitor: (off)" + echo $" - Monitor: (off)" elif [ "${monitor}" == "telnet" ]; then # Find a free port to expose monitor-telnet to the guest TEMP_PORT="$(get_port "${monitor_telnet_port}" 9)" if [ -z "${TEMP_PORT}" ]; then - echo " - Monitor: All Monitor-Telnet ports have been exhausted." + echo $" - Monitor: All Monitor-Telnet ports have been exhausted." else monitor_telnet_port="${TEMP_PORT}" # shellcheck disable=SC2054 args+=(-monitor telnet:"${monitor_telnet_host}:${monitor_telnet_port}",server,nowait) - echo " - Monitor: On host: telnet ${monitor_telnet_host} ${monitor_telnet_port}" + echo $" - Monitor: On host: telnet ${monitor_telnet_host} ${monitor_telnet_port}" echo "monitor-telnet,${monitor_telnet_port},${monitor_telnet_host}" >> "${VMDIR}/${VMNAME}.ports" fi elif [ "${monitor}" == "socket" ]; then # shellcheck disable=SC2054,SC2206 args+=(-monitor unix:${SOCKET_MONITOR},server,nowait) if command -v socat &>/dev/null; then - echo " - Monitor: On host: socat -,echo=0,icanon=0 unix-connect:${SOCKET_MONITOR}" + echo $" - Monitor: On host: socat -,echo=0,icanon=0 unix-connect:${SOCKET_MONITOR}" elif command -v nc &>/dev/null; then - echo " - Monitor: On host: nc -U \"${SOCKET_MONITOR}\"" + echo $" - Monitor: On host: nc -U \"${SOCKET_MONITOR}\"" fi else - echo "ERROR! \"${monitor}\" is an unknown monitor option." + echo $"ERROR! \"${monitor}\" is an unknown monitor option." exit 1 fi if [ "${serial}" == "none" ]; then args+=(-serial none) - echo " - Serial: (off)" + echo $" - Serial: (off)" elif [ "${serial}" == "telnet" ]; then # Find a free port to expose serial-telnet to the guest TEMP_PORT="$(get_port "${serial_telnet_port}" 9)" if [ -z "${TEMP_PORT}" ]; then - echo " - Serial: All Serial Telnet ports have been exhausted." + echo $" - Serial: All Serial Telnet ports have been exhausted." else serial_telnet_port="${TEMP_PORT}" # shellcheck disable=SC2054,SC2206 args+=(-serial telnet:${serial_telnet_host}:${serial_telnet_port},server,nowait) - echo " - Serial: On host: telnet ${serial_telnet_host} ${serial_telnet_port}" + echo $" - Serial: On host: telnet ${serial_telnet_host} ${serial_telnet_port}" echo "serial-telnet,${serial_telnet_port},${serial_telnet_host}" >> "${VMDIR}/${VMNAME}.ports" fi elif [ "${serial}" == "socket" ]; then # shellcheck disable=SC2054,SC2206 args+=(-serial unix:${SOCKET_SERIAL},server,nowait) if command -v socat &>/dev/null; then - echo " - Serial: On host: socat -,echo=0,icanon=0 unix-connect:${SOCKET_SERIAL}" + echo $" - Serial: On host: socat -,echo=0,icanon=0 unix-connect:${SOCKET_SERIAL}" elif command -v nc &>/dev/null; then - echo " - Serial: On host: nc -U \"${SOCKET_SERIAL}\"" + echo $" - Serial: On host: nc -U \"${SOCKET_SERIAL}\"" fi else - echo "ERROR! \"${serial}\" is an unknown serial option." + echo $"ERROR! \"${serial}\" is an unknown serial option." exit 1 fi @@ -1542,9 +1555,9 @@ function vm_boot() { VM_PID=$! sleep 0.25 if kill -0 "${VM_PID}" 2>/dev/null; then - echo " - Process: Started ${VM} as ${VMNAME} (${VM_PID})" + echo $" - Process: Started ${VM} as ${VMNAME} (${VM_PID})" else - echo " - Process: ERROR! Failed to start ${VM} as ${VMNAME}" + echo $" - Process: ERROR! Failed to start ${VM} as ${VMNAME}" rm -f "${VMDIR}/${VMNAME}.pid" echo && cat "${VMDIR}/${VMNAME}.log" exit 1 @@ -1560,28 +1573,28 @@ function start_viewer { if [ "${viewer}" == "remote-viewer" ]; then # show via viewer: remote-viewer if [ -n "${PUBLIC}" ]; then - echo " - Viewer: ${viewer} --title \"${VMNAME}\" --spice-shared-dir \"${PUBLIC}\" ${FULLSCREEN} \"spice://localhost:${spice_port}\" >/dev/null 2>&1 &" + echo $" - Viewer: ${viewer} --title \"${VMNAME}\" --spice-shared-dir \"${PUBLIC}\" ${FULLSCREEN} \"spice://localhost:${spice_port}\" >/dev/null 2>&1 &" ${viewer} --title "${VMNAME}" --spice-shared-dir "${PUBLIC}" ${FULLSCREEN} "spice://localhost:${spice_port}" >/dev/null 2>&1 & errno=$? else - echo " - Viewer: ${viewer} --title \"${VMNAME}\" ${FULLSCREEN} \"spice://localhost:${spice_port}\" >/dev/null 2>&1 &" + echo $" - Viewer: ${viewer} --title \"${VMNAME}\" ${FULLSCREEN} \"spice://localhost:${spice_port}\" >/dev/null 2>&1 &" ${viewer} --title "${VMNAME}" ${FULLSCREEN} "spice://localhost:${spice_port}" >/dev/null 2>&1 & errno=$? fi elif [ "${viewer}" == "spicy" ]; then # show via viewer: spicy if [ -n "${PUBLIC}" ]; then - echo " - Viewer: ${viewer} --title \"${VMNAME}\" --port \"${spice_port}\" --spice-shared-dir \"${PUBLIC}\" \"${FULLSCREEN}\" >/dev/null 2>&1 &" + echo $" - Viewer: ${viewer} --title \"${VMNAME}\" --port \"${spice_port}\" --spice-shared-dir \"${PUBLIC}\" \"${FULLSCREEN}\" >/dev/null 2>&1 &" ${viewer} --title "${VMNAME}" --port "${spice_port}" --spice-shared-dir "${PUBLIC}" "${FULLSCREEN}" >/dev/null 2>&1 & errno=$? else - echo " - Viewer: ${viewer} --title \"${VMNAME}\" --port \"${spice_port}\" \"${FULLSCREEN}\" >/dev/null 2>&1 &" + echo $" - Viewer: ${viewer} --title \"${VMNAME}\" --port \"${spice_port}\" \"${FULLSCREEN}\" >/dev/null 2>&1 &" ${viewer} --title "${VMNAME}" --port "${spice_port}" "${FULLSCREEN}" >/dev/null 2>&1 & errno=$? fi fi if [ ${errno} -ne 0 ]; then - echo "WARNING! Could not start viewer (${viewer}) Err: ${errno}" + echo $"WARNING! Could not start viewer (${viewer}) Err: ${errno}" fi fi fi @@ -1590,7 +1603,7 @@ function start_viewer { function shortcut_create { local dirname="${HOME}/.local/share/applications" local filename="${HOME}/.local/share/applications/${VMNAME}.desktop" - echo "Creating ${VMNAME} desktop shortcut file" + echo $"Creating ${VMNAME} desktop shortcut file" if [ ! -d "${dirname}" ]; then mkdir -p "${dirname}" @@ -1605,7 +1618,7 @@ Path=${VMPATH} Name=${VMNAME} Icon=qemu EOF - echo " - ${filename} created." + echo $" - ${filename} created." } function usage() { @@ -1614,52 +1627,52 @@ function usage() { echo " / _' | | | | |/ __| |/ / _ \ '_ ' _ \| | | |" echo "| (_| | |_| | | (__| < __/ | | | | | |_| |" echo " \__, |\__,_|_|\___|_|\_\___|_| |_| |_|\__,_|" - echo " |_| v${VERSION}, using qemu ${QEMU_VER_LONG}" + echo $" |_| v${VERSION}, using qemu ${QEMU_VER_LONG}" echo "--------------------------------------------------------------------------------" - echo " Project - https://github.com/quickemu-project/quickemu" + echo $" Project - https://github.com/quickemu-project/quickemu" echo " Discord - https://wimpysworld.io/discord" echo "--------------------------------------------------------------------------------" echo - echo "Usage" - echo " ${LAUNCHER} --vm ubuntu.conf <arguments>" + echo $"Usage" + echo $" ${LAUNCHER} --vm ubuntu.conf <arguments>" echo - echo "Arguments" - echo " --access : Enable remote spice access support. 'local' (default), 'remote', 'clientipaddress'" - echo " --braille : Enable braille support. Requires SDL." - echo " --delete-disk : Delete the disk image and EFI variables" - echo " --delete-vm : Delete the entire VM and its configuration" - echo " --display : Select display backend. 'sdl' (default), 'cocoa', 'gtk', 'none', 'spice' or 'spice-app'" - echo " --fullscreen : Starts VM in full screen mode (Ctl+Alt+f to exit)" - echo " --ignore-msrs-always : Configure KVM to always ignore unhandled machine-specific registers" - echo " --kill : Kill the VM process if it is running" - echo " --offline : Override all network settings and start the VM offline" - echo " --shortcut : Create a desktop shortcut" - echo " --snapshot apply <tag> : Apply/restore a snapshot." - echo " --snapshot create <tag> : Create a snapshot." - echo " --snapshot delete <tag> : Delete a snapshot." - echo " --snapshot info : Show disk/snapshot info." - echo " --status-quo : Do not commit any changes to disk/snapshot." - echo " --viewer <viewer> : Choose an alternative viewer. @Options: 'spicy' (default), 'remote-viewer', 'none'" - echo " --width <width> : Set VM screen width; requires '--height'" - echo " --height <height> : Set VM screen height; requires '--width'" - echo " --ssh-port <port> : Set SSH port manually" - echo " --spice-port <port> : Set SPICE port manually" - echo " --public-dir <path> : Expose share directory. @Options: '' (default: xdg-user-dir PUBLICSHARE), '<directory>', 'none'" - echo " --monitor <type> : Set monitor connection type. @Options: 'socket' (default), 'telnet', 'none'" - echo " --monitor-telnet-host <ip/host> : Set telnet host for monitor. (default: 'localhost')" - echo " --monitor-telnet-port <port> : Set telnet port for monitor. (default: '4440')" - echo " --monitor-cmd <cmd> : Send command to monitor if available. (Example: system_powerdown)" - echo " --serial <type> : Set serial connection type. @Options: 'socket' (default), 'telnet', 'none'" - echo " --serial-telnet-host <ip/host> : Set telnet host for serial. (default: 'localhost')" - echo " --serial-telnet-port <port> : Set telnet port for serial. (default: '6660')" - echo " --keyboard <type> : Set keyboard. @Options: 'usb' (default), 'ps2', 'virtio'" - echo " --keyboard_layout <layout> : Set keyboard layout: 'en-us' (default)" - echo " --mouse <type> : Set mouse. @Options: 'tablet' (default), 'ps2', 'usb', 'virtio'" - echo " --usb-controller <type> : Set usb-controller. @Options: 'ehci' (default), 'xhci', 'none'" - echo " --sound-card <type> : Set sound card. @Options: 'intel-hda' (default), 'ac97', 'es1370', 'sb16', 'usb-audio', 'none'" - echo " --sound-duplex <type> : Set sound card duplex. @Options: 'hda-micro' (default: speaker/mic), 'hda-duplex' (line-in/line-out), 'hda-output' (output-only)" - echo " --extra_args <arguments> : Pass additional arguments to qemu" - echo " --version : Print version" + echo $"Arguments" + echo $" --access : Enable remote spice access support. 'local' (default), 'remote', 'clientipaddress'" + echo $" --braille : Enable braille support. Requires SDL." + echo $" --delete-disk : Delete the disk image and EFI variables" + echo $" --delete-vm : Delete the entire VM and its configuration" + echo $" --display : Select display backend. 'sdl' (default), 'cocoa', 'gtk', 'none', 'spice' or 'spice-app'" + echo $" --fullscreen : Starts VM in full screen mode (Ctl+Alt+f to exit)" + echo $" --ignore-msrs-always : Configure KVM to always ignore unhandled machine-specific registers" + echo $" --kill : Kill the VM process if it is running" + echo $" --offline : Override all network settings and start the VM offline" + echo $" --shortcut : Create a desktop shortcut" + echo $" --snapshot apply <tag> : Apply/restore a snapshot." + echo $" --snapshot create <tag> : Create a snapshot." + echo $" --snapshot delete <tag> : Delete a snapshot." + echo $" --snapshot info : Show disk/snapshot info." + echo $" --status-quo : Do not commit any changes to disk/snapshot." + echo $" --viewer <viewer> : Choose an alternative viewer. @Options: 'spicy' (default), 'remote-viewer', 'none'" + echo $" --width <width> : Set VM screen width; requires '--height'" + echo $" --height <height> : Set VM screen height; requires '--width'" + echo $" --ssh-port <port> : Set SSH port manually" + echo $" --spice-port <port> : Set SPICE port manually" + echo $" --public-dir <path> : Expose share directory. @Options: '' (default: xdg-user-dir PUBLICSHARE), '<directory>', 'none'" + echo $" --monitor <type> : Set monitor connection type. @Options: 'socket' (default), 'telnet', 'none'" + echo $" --monitor-telnet-host <ip/host> : Set telnet host for monitor. (default: 'localhost')" + echo $" --monitor-telnet-port <port> : Set telnet port for monitor. (default: '4440')" + echo $" --monitor-cmd <cmd> : Send command to monitor if available. (Example: system_powerdown)" + echo $" --serial <type> : Set serial connection type. @Options: 'socket' (default), 'telnet', 'none'" + echo $" --serial-telnet-host <ip/host> : Set telnet host for serial. (default: 'localhost')" + echo $" --serial-telnet-port <port> : Set telnet port for serial. (default: '6660')" + echo $" --keyboard <type> : Set keyboard. @Options: 'usb' (default), 'ps2', 'virtio'" + echo $" --keyboard_layout <layout> : Set keyboard layout: 'en-us' (default)" + echo $" --mouse <type> : Set mouse. @Options: 'tablet' (default), 'ps2', 'usb', 'virtio'" + echo $" --usb-controller <type> : Set usb-controller. @Options: 'ehci' (default), 'xhci', 'none'" + echo $" --sound-card <type> : Set sound card. @Options: 'intel-hda' (default), 'ac97', 'es1370', 'sb16', 'usb-audio', 'none'" + echo $" --sound-duplex <type> : Set sound card duplex. @Options: 'hda-micro' (default: speaker/mic), 'hda-duplex' (line-in/line-out), 'hda-output' (output-only)" + echo $" --extra_args <arguments> : Pass additional arguments to qemu" + echo $" --version : Print version" } function display_param_check() { @@ -1670,12 +1683,12 @@ function display_param_check() { if [ "${OS_KERNEL}" == "Darwin" ]; then if [ "${display}" != "cocoa" ] && [ "${display}" != "none" ]; then - echo "ERROR! Requested output '${display}' but only 'cocoa' and 'none' are avalible on macOS." + echo $"ERROR! Requested output '${display}' but only 'cocoa' and 'none' are avalible on macOS." exit 1 fi else if [ "${display}" != "gtk" ] && [ "${display}" != "none" ] && [ "${display}" != "sdl" ] && [ "${display}" != "spice" ] && [ "${display}" != "spice-app" ]; then - echo "ERROR! Requested output '${display}' is not recognised." + echo $"ERROR! Requested output '${display}' is not recognised." exit 1 fi fi @@ -1703,29 +1716,29 @@ function display_param_check() { function ports_param_check() { if [ -n "${ssh_port}" ] && ! is_numeric "${ssh_port}"; then - echo "ERROR: ssh_port must be a number!" + echo $"ERROR: ssh_port must be a number!" exit 1 fi if [ -n "${spice_port}" ] && ! is_numeric "${spice_port}"; then - echo "ERROR: spice_port must be a number!" + echo $"ERROR: spice_port must be a number!" exit 1 fi if [ -n "${monitor_telnet_port}" ] && ! is_numeric "${monitor_telnet_port}"; then - echo "ERROR: telnet port must be a number!" + echo $"ERROR: telnet port must be a number!" exit 1 fi if [ -n "${serial_telnet_port}" ] && ! is_numeric "${serial_telnet_port}"; then - echo "ERROR: serial port must be a number!" + echo $"ERROR: serial port must be a number!" exit 1 fi } function sound_card_param_check() { if [ "${sound_card}" != "ac97" ] && [ "${sound_card}" != "es1370" ] && [ "${sound_card}" != "ich9-intel-hda" ] && [ "${sound_card}" != "intel-hda" ] && [ "${sound_card}" != "sb16" ] && [ "${sound_card}" != "usb-audio" ] && [ "${sound_card}" != "none" ]; then - echo "ERROR! Requested sound card '${sound_card}' is not recognised." + echo $"ERROR! Requested sound card '${sound_card}' is not recognised." exit 1 fi @@ -1738,7 +1751,7 @@ function sound_card_param_check() { #name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microphone)" #name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" if [ "${sound_duplex}" != "hda-duplex" ] && [ "${sound_duplex}" != "hda-micro" ] && [ "${sound_duplex}" != "hda-output" ]; then - echo "ERROR! Requested sound duplex '${sound_duplex}' is not recognised." + echo $"ERROR! Requested sound duplex '${sound_duplex}' is not recognised." exit 1 fi } @@ -1747,7 +1760,7 @@ function tpm_param_check() { if [ "${tpm}" == "on" ]; then SWTPM=$(command -v swtpm) if [ ! -e "${SWTPM}" ]; then - echo "ERROR! TPM is enabled, but swtpm was not found." + echo $"ERROR! TPM is enabled, but swtpm was not found." exit 1 fi fi @@ -1759,14 +1772,14 @@ function viewer_param_check() { fi if [ "${viewer}" != "none" ] && [ "${viewer}" != "spicy" ] && [ "${viewer}" != "remote-viewer" ]; then - echo "ERROR! Requested viewer '${viewer}' is not recognised." + echo $"ERROR! Requested viewer '${viewer}' is not recognised." exit 1 fi if [ "${viewer}" == "spicy" ] && ! command -v spicy &>/dev/null; then - echo "ERROR! Requested 'spicy' as viewer, but 'spicy' is not installed." + echo $"ERROR! Requested 'spicy' as viewer, but 'spicy' is not installed." exit 1 elif [ "${viewer}" == "remote-viewer" ] && ! command -v remote-viewer &>/dev/null; then - echo "ERROR! Requested 'remote-viewer' as viewer, but 'remote-viewer' is not installed." + echo $"ERROR! Requested 'remote-viewer' as viewer, but 'remote-viewer' is not installed." exit 1 fi } @@ -1786,7 +1799,7 @@ function fileshare_param_check() { fi if [ ! -d "${PUBLIC}" ]; then - echo " - WARNING! Public directory: '${PUBLIC}' doesn't exist!" + echo $" - WARNING! Public directory: '${PUBLIC}' doesn't exist!" else PUBLIC_TAG="Public-${USER,,}" PUBLIC_PERMS=$(${STAT} -c "%A" "${PUBLIC}") @@ -1829,19 +1842,19 @@ function monitor_send_cmd { local MSG="${1}" if [ -z "${MSG}" ]; then - echo "WARNING! Send to QEMU-Monitor: Message empty!" + echo $"WARNING! Send to QEMU-Monitor: Message empty!" return 1 fi case "${monitor}" in socket) - echo -e " - Sending: via socket ${MSG}" + echo $-e " - Sending: via socket ${MSG}" echo -e "${MSG}" | socat -,shut-down unix-connect:"${SOCKET_MONITOR}" > /dev/null 2>&1;; telnet) - echo -e " - Sending: via telnet ${MSG}" + echo $-e " - Sending: via telnet ${MSG}" echo -e "${MSG}" | socat - tcp:"${monitor_telnet_host}":"${monitor_telnet_port}" > /dev/null 2>&1;; *) - echo "WARNING! No qemu-monitor channel available - Couldn't send message to monitor!" + echo $"WARNING! No qemu-monitor channel available - Couldn't send message to monitor!" return 1;; esac @@ -1922,7 +1935,7 @@ ARCH_HOST=$(uname -m) QEMU=$(command -v qemu-system-${ARCH_VM}) QEMU_IMG=$(command -v qemu-img) if [ ! -x "${QEMU}" ] || [ ! -x "${QEMU_IMG}" ]; then - echo "ERROR! QEMU not found. Please make sure 'qemu-system-${ARCH_VM}' and 'qemu-img' are installed." + echo $"ERROR! QEMU not found. Please make sure 'qemu-system-${ARCH_VM}' and 'qemu-img' are installed." exit 1 fi @@ -1940,7 +1953,7 @@ fi QEMU_VER_LONG=$(${QEMU_IMG} --version | head -n 1 | awk '{print $3}') QEMU_VER_SHORT=$(echo "${QEMU_VER_LONG//./}" | cut -c1-2) if [ "${QEMU_VER_SHORT}" -lt 60 ]; then - echo "ERROR! QEMU 6.0.0 or newer is required, detected ${QEMU_VER_LONG}." + echo $"ERROR! QEMU 6.0.0 or newer is required, detected ${QEMU_VER_LONG}." exit 1 fi @@ -1986,12 +1999,12 @@ else shift;; -snapshot|--snapshot) if [ -z "${2}" ]; then - echo "ERROR! '--snapshot' needs an action to perform." + echo $"ERROR! '--snapshot' needs an action to perform." exit 1 fi SNAPSHOT_ACTION="${2}" if [ -z "${3}" ] && [ "${SNAPSHOT_ACTION}" != "info" ]; then - echo "ERROR! '--snapshot ${SNAPSHOT_ACTION}' needs a tag." + echo $"ERROR! '--snapshot ${SNAPSHOT_ACTION}' needs a tag." exit 1 fi SNAPSHOT_TAG="${3}" @@ -2096,7 +2109,7 @@ else usage exit 0;; *) - echo "ERROR! \"${1}\" is not a supported parameter." + echo $"ERROR! \"${1}\" is not a supported parameter." usage exit 1;; esac @@ -2158,17 +2171,17 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then snapshot_info exit;; info) - echo "Snapshot information ${disk_img}" + echo $"Snapshot information ${disk_img}" snapshot_info exit;; *) - echo "ERROR! \"${SNAPSHOT_ACTION}\" is not a supported snapshot action." + echo $"ERROR! \"${SNAPSHOT_ACTION}\" is not a supported snapshot action." usage exit 1;; esac fi else - echo "ERROR! Virtual machine configuration not found." + echo $"ERROR! Virtual machine configuration not found." usage exit 1 fi @@ -2193,7 +2206,7 @@ if [ -z "${VM_PID}" ]; then fi else echo "${VMNAME}" - echo " - Process: Already running ${VM} as ${VMNAME} (${VM_PID})" + echo $" - Process: Already running ${VM} as ${VMNAME} (${VM_PID})" parse_ports_from_file start_viewer fi diff --git a/quickget b/quickget index e234b5db97..f4b388aca7 100755 --- a/quickget +++ b/quickget @@ -3,6 +3,14 @@ # - https://www.shellcheck.net/wiki/SC2317 # - Disable globally because many functions are called indirectly # shellcheck disable=SC2317 + +export TEXTDOMAIN=quickget +if [[ -n $Q_DEBUG ]]; then + export TEXTDOMAINDIR="${PWD}/locale" +else + export TEXTDOMAINDIR=/usr/share/locale +fi + export LC_ALL=C function cleanup() { @@ -11,143 +19,42 @@ function cleanup() { fi } -function os_info() { - local SIMPLE_NAME="" - local INFO="" - SIMPLE_NAME="${1}" - case ${SIMPLE_NAME} in - #name) INFO="PrettyName|Credentials|Homepage|Info";; - alma) INFO="AlmaLinux|-|https://almalinux.org/|Community owned and governed, forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform. AlmaLinux OS is binary compatible with RHEL®.";; - alpine) INFO="Alpine Linux|-|https://alpinelinux.org/|Security-oriented, lightweight Linux distribution based on musl libc and busybox.";; - android) INFO="Android x86|-|https://www.android-x86.org/|Port Android Open Source Project to x86 platform.";; - antix) INFO="Antix|-|https://antixlinux.com/|Fast, lightweight and easy to install systemd-free linux live CD distribution based on Debian Stable for Intel-AMD x86 compatible systems.";; - archcraft) INFO="Archcraft|-|https://archcraft.io/|Yet another minimal Linux distribution, based on Arch Linux.";; - archlinux) INFO="Arch Linux|-|https://archlinux.org/|Lightweight and flexible Linux® distribution that tries to Keep It Simple.";; - arcolinux) INFO="Arco Linux|-|https://arcolinux.com/|Is all about becoming an expert in linux.";; - artixlinux) INFO="Artix Linux|-|https://artixlinux.org/|The Art of Linux. Simple. Fast. Systemd-free.";; - athenaos) INFO="Athena OS|-|https://athenaos.org/|Offer a different experience than the most used pentesting distributions by providing only tools that fit with the user needs and improving the access to hacking resources and learning materials.";; - batocera) INFO="Batocera|-|https://batocera.org/|Retro-gaming distribution with the aim of turning any computer/nano computer into a gaming console during a game or permanently.";; - bazzite) INFO="Bazzite|-|https://github.com/ublue-os/bazzite/|Container native gaming and a ready-to-game SteamOS like.";; - biglinux) INFO="BigLinux|-|https://www.biglinux.com.br/|Is the right choice if you want to have an easy and enriching experience with Linux. It has been perfected over more than 19 years, following our motto: 'In search of the perfect system'.";; - blendos) INFO="BlendOS|-|https://blendos.co/|A seamless blend of all Linux distributions. Allows you to have an immutable, atomic and declarative Arch Linux system, with application support from several Linux distributions & Android.";; - bodhi) INFO="Bodhi|-|https://www.bodhilinux.com/|Lightweight distribution featuring the fast & fully customizable Moksha Desktop.";; - bunsenlabs) INFO="BunsenLabs|-|https://www.bunsenlabs.org/|Light-weight and easily customizable Openbox desktop. The project is a community continuation of CrunchBang Linux.";; - cachyos) INFO="CachyOS|-|https://cachyos.org/|Designed to deliver lightning-fast speeds and stability, ensuring a smooth and enjoyable computing experience every time you use it.";; - centos-stream) INFO="CentOS Stream|-|https://www.centos.org/centos-stream/|Continuously delivered distro that tracks just ahead of Red Hat Enterprise Linux (RHEL) development, positioned as a midstream between Fedora Linux and RHEL.";; - chimeralinux) INFO="Chimera Linux|anon:chimera root:chimera|https://chimera-linux.org/|Modern, general-purpose non-GNU Linux distribution.";; - crunchbang++) INFO="Crunchbangplusplus|-|https://www.crunchbangplusplus.org/|The classic minimal crunchbang feel, now with debian 12 bookworm.";; - debian) INFO="Debian|-|https://www.debian.org/|Complete Free Operating System with perfect level of ease of use and stability.";; - deepin) INFO="Deepin|-|https://www.deepin.org/|Beautiful UI design, intimate human-computer interaction, and friendly community environment make you feel at home.";; - devuan) INFO="Devuan|-|https://www.devuan.org/|Fork of Debian without systemd that allows users to reclaim control over their system by avoiding unnecessary entanglements and ensuring Init Freedom.";; - dragonflybsd) INFO="DragonFlyBSD|-|https://www.dragonflybsd.org/|Provides an opportunity for the BSD base to grow in an entirely different direction from the one taken in the FreeBSD, NetBSD, and OpenBSD series.";; - easyos) INFO="EasyOS|-|https://easyos.org/|Experimental distribution designed from scratch to support containers.";; - edubuntu) INFO="Edubuntu|-|https://www.edubuntu.org/|Stable, secure and privacy concious option for schools.";; - elementary) INFO="elementary OS|-|https://elementary.io/|Thoughtful, capable, and ethical replacement for Windows and macOS.";; - endeavouros) INFO="EndeavourOS|-|https://endeavouros.com/|Provides an Arch experience without the hassle of installing it manually for both x86_64 and ARM systems.";; - endless) INFO="Endless OS|-|https://www.endlessos.org/os|Completely Free, User-Friendly Operating System Packed with Educational Tools, Games, and More.";; - fedora) INFO="Fedora|-|https://www.fedoraproject.org/|Innovative platform for hardware, clouds, and containers, built with love by you.";; - freebsd) INFO="FreeBSD|-|https://www.freebsd.org/|Operating system used to power modern servers, desktops, and embedded platforms.";; - freedos) INFO="FreeDOS|-|https://freedos.org/|DOS-compatible operating system that you can use to play classic DOS games, run legacy business software, or develop embedded systems.";; - garuda) INFO="Garuda Linux|-|https://garudalinux.org/|Feature rich and easy to use Linux distribution.";; - gentoo) INFO="Gentoo|-|https://www.gentoo.org/|Highly flexible, source-based Linux distribution.";; - ghostbsd) INFO="GhostBSD|-|https://www.ghostbsd.org/|Simple, elegant desktop BSD Operating System.";; - gnomeos) INFO="GNOME OS|-|https://os.gnome.org/|Alpha nightly bleeding edge distro of GNOME";; - guix) INFO="Guix|-|https://guix.gnu.org/|Distribution of the GNU operating system developed by the GNU Project—which respects the freedom of computer users.";; - haiku) INFO="Haiku|-|https://www.haiku-os.org/|Specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful.";; - holoiso) INFO="HoloISO|-|https://github.com/HoloISO/holoiso|Bring the Steam Decks SteamOS Holo redistribution and provide a close-to-official SteamOS experience.";; - kali) INFO="Kali|-|https://www.kali.org/|The most advanced Penetration Testing Distribution.";; - kdeneon) INFO="KDE Neon|-|https://neon.kde.org/|Latest and greatest of KDE community software packaged on a rock-solid base.";; - kolibrios) INFO="KolibriOS|-|https://kolibrios.org/en/|Tiny yet incredibly powerful and fast operating system.";; - kubuntu) INFO="Kubuntu|-|https://kubuntu.org/|Free, complete, and open-source alternative to Microsoft Windows and Mac OS X which contains everything you need to work, play, or share.";; - linuxlite) INFO="Linux Lite|-|https://www.linuxliteos.com/|Your first simple, fast and free stop in the world of Linux.";; - linuxmint) INFO="Linux Mint|-|https://linuxmint.com/|Designed to work out of the box and comes fully equipped with the apps most people need.";; - lmde) INFO="Linux Mint Debian Edition|-|https://www.linuxmint.com/download_lmde.php|Aims to be as similar as possible to Linux Mint, but without using Ubuntu. The package base is provided by Debian instead.";; - lubuntu) INFO="Lubuntu|-|https://lubuntu.me/|Complete Operating System that ships the essential apps and services for daily use: office applications, PDF reader, image editor, music and video players, etc. Using lightwave lxde/lxqt.";; - maboxlinux) INFO="Mabox Linux|-|https://maboxlinux.org/|Lightweight, functional and easy to customize Openbox desktop";; - mageia) INFO="Mageia|-|https://www.mageia.org/|Stable, secure operating system for desktop & server.";; - manjaro) INFO="Manjaro|-|https://manjaro.org/|Versatile, free, and open-source Linux operating system designed with a strong focus on safeguarding user privacy and offering extensive control over hardware.";; - mxlinux) INFO="MX Linux|-|https://mxlinux.org/|Designed to combine elegant and efficient desktops with high stability and solid performance.";; - netboot) INFO="netboot.xyz|-|https://netboot.xyz/|Your favorite operating systems in one place.";; - netbsd) INFO="NetBSD|-|https://www.netbsd.org/|Free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.";; - nitrux) INFO="Nitrux|-|https://nxos.org/|Powered by Debian, KDE Plasma and Frameworks, and AppImages.";; - nixos) INFO="NixOS|-|https://nixos.org/|Linux distribution based on Nix package manager, tool that takes a unique approach to package management and system configuration.";; - nwg-shell) INFO="nwg-shell|nwg:nwg|https://nwg-piotr.github.io/nwg-shell/|Arch Linux ISO with nwg-shell for sway and Hyprland";; - macos) INFO="macOS|-|https://www.apple.com/macos/|Work and play on your Mac are even more powerful. Elevate your presence on video calls. Access information in all-new ways. Boost gaming performance. And discover even more ways to personalize your Mac.";; - openbsd) INFO="OpenBSD|-|https://www.openbsd.org/|FREE, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography.";; - openindiana) INFO="OpenIndiana|-|https://www.openindiana.org/|Community supported illumos-based operating system.";; - opensuse) INFO="openSUSE|-|https://www.opensuse.org/|The makers choice for sysadmins, developers and desktop users.";; - oraclelinux) INFO="Oracle Linux|-|https://www.oracle.com/linux/|Linux with everything required to deploy, optimize, and manage applications on-premises, in the cloud, and at the edge.";; - parrotsec) INFO="Parrot Security|parrot:parrot|https://www.parrotsec.org/|Provides a huge arsenal of tools, utilities and libraries that IT and security professionals can use to test and assess the security of their assets in a reliable, compliant and reproducible way.";; - peppermint) INFO="PeppermintOS|-|https://peppermintos.com/|Provides a user with the opportunity to build the system that best fits their needs. While at the same time providing a functioning OS with minimum hassle out of the box.";; - popos) INFO="Pop!_OS|-|https://pop.system76.com/|Operating system for STEM and creative professionals who use their computer as a tool to discover and create.";; - porteus) INFO="Porteus|-|http://www.porteus.org/|Complete linux operating system that is optimized to run from CD, USB flash drive, hard drive, or other bootable storage media.";; - primtux) INFO="PrimTux|-|https://primtux.fr/|A complete and customizable GNU/Linux operating system intended for primary school students and suitable even for older hardware.";; - proxmox-ve) INFO="Proxmox VE|-|https://proxmox.com/en/proxmox-virtual-environment/|Proxmox Virtual Environment is a complete, open-source server management platform for enterprise virtualization.";; - pureos) INFO="PureOS|-|https://www.pureos.net/|A fully free/libre and open source GNU/Linux operating system, endorsed by the Free Software Foundation.";; - reactos) INFO="ReactOS|-|https://reactos.org/|Imagine running your favorite Windows applications and drivers in an open-source environment you can trust.";; - rebornos) INFO="RebornOS|-|https://rebornos.org/|Aiming to make Arch Linux as user friendly as possible by providing interface solutions to things you normally have to do in a terminal.";; - rockylinux) INFO="Rocky Linux|-|https://rockylinux.org/|Open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux®.";; - siduction) INFO="Siduction|-|https://siduction.org/|Operating system based on the Linux kernel and the GNU project. In addition, there are applications and libraries from Debian.";; - slackware) INFO="Slackware|-|http://www.slackware.com/|Advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities.";; - slax) INFO="Slax|-|https://www.slax.org/|Compact, fast, and modern Linux operating system that combines sleek design with modular approach. With the ability to run directly from a USB flash drive without the need for installation, Slax is truly portable and fits easily in your pocket.";; - slint) INFO="Slint|-|https://slint.fr/|Slint is an easy-to-use, versatile, blind-friendly Linux distribution for 64-bit computers. Slint is based on Slackware and borrows tools from Salix. Maintainer: Didier Spaier.";; - slitaz) INFO="SliTaz|-|https://www.slitaz.org/en/|Simple, fast and low resource Linux OS for servers & desktops.";; - solus) INFO="Solus|-|https://getsol.us/|Designed for home computing. Every tweak enables us to deliver a cohesive computing experience.";; - sparkylinux) INFO="SparkyLinux|-|https://sparkylinux.org/|Fast, lightweight and fully customizable operating system which offers several versions for different use cases.";; - spirallinux) INFO="SpiralLinux|-|https://spirallinux.github.io/|Selection of Linux spins built from Debian GNU/Linux, with a focus on simplicity and out-of-the-box usability across all the major desktop environments.";; - tails) INFO="Tails|-|https://tails.net/|Portable operating system that protects against surveillance and censorship.";; - tinycore) INFO="Tiny Core Linux|-|http://www.tinycorelinux.net/|Highly modular based system with community build extensions.";; - trisquel) INFO="Trisquel-|https://trisquel.info/|Fully free operating system for home users, small enterprises and educational centers.";; - truenas-core) INFO="TrueNAS Core|-|https://www.truenas.com/truenas-core/|World’s most popular storage OS because it gives you the power to build your own professional-grade storage system to use in a variety of data-intensive applications without any software costs.";; - truenas-scale) INFO="TrueNAS Scale|-|https://www.truenas.com/truenas-scale/|Open Source Hyperconverged Infrastructure (HCI) solution. In addition to powerful scale-out storage capabilities, SCALE adds Linux Containers and VMs (KVM) so apps run closer to data.";; - tuxedo-os) INFO="Tuxedo OS|-|https://www.tuxedocomputers.com/en/|KDE Ubuntu LTS designed to go with their Linux hardware.";; - ubuntu) INFO="Ubuntu|-|https://ubuntu.com/|Complete desktop Linux operating system, freely available with both community and professional support.";; - ubuntu-budgie) INFO="Ubuntu Budgie|-|https://ubuntubudgie.org/|Community developed distribution, integrating the Budgie Desktop Environment with Ubuntu at its core.";; - ubuntucinnamon) INFO="Ubuntu Cinnamon|-|https://ubuntucinnamon.org/|Community-driven, featuring Linux Mint’s Cinnamon Desktop with Ubuntu at the core, packed fast and full of features, here is the most traditionally modern desktop you will ever love.";; - ubuntukylin) INFO="Ubuntu Kylin|-|https://ubuntukylin.com/|Universal desktop operating system for personal computers, laptops, and embedded devices. It is dedicated to bringing a smarter user experience to users all over the world.";; - ubuntu-mate) INFO="Ubuntu MATE|-|https://ubuntu-mate.org/|Stable, easy-to-use operating system with a configurable desktop environment. It is ideal for those who want the most out of their computers and prefer a traditional desktop metaphor. Using Mate desktop.";; - ubuntu-server) INFO="Ubuntu Server|-|https://ubuntu.com/server|Brings economic and technical scalability to your datacentre, public or private. Whether you want to deploy an OpenStack cloud, a Kubernetes cluster or a 50,000-node render farm, Ubuntu Server delivers the best value scale-out performance available.";; - ubuntustudio) INFO="Ubuntu Studio|-|https://ubuntustudio.org/|Comes preinstalled with a selection of the most common free multimedia applications available, and is configured for best performance for various purposes: Audio, Graphics, Video, Photography and Publishing.";; - ubuntu-unity) INFO="Ubuntu Unity|-|https://ubuntuunity.org/|Flavor of Ubuntu featuring the Unity7 desktop environment (the default desktop environment used by Ubuntu from 2010-2017).";; - vanillaos) INFO="Vanilla OS|-|https://vanillaos.org/|Designed to be a reliable and productive operating system for your daily work.";; - void) INFO="Void Linux|anon:voidlinux|https://voidlinux.org/|General purpose operating system. Its package system allows you to quickly install, update and remove software; software is provided in binary packages or can be built directly from sources.";; - vxlinux) INFO="VX Linux|-|https://vxlinux.org/|Pre-configured, secure systemd-free Plasma desktop with focus on convenience, performance and simplicity. Based on the excellent Void Linux.";; - windows) INFO="Windows|-|https://www.microsoft.com/en-us/windows/|Whether you’re gaming, studying, running a business, or running a household, Windows helps you get it done.";; - windows-server) INFO="Windows Server|-|https://www.microsoft.com/en-us/windows-server/|Platform for building an infrastructure of connected applications, networks, and web services.";; - xubuntu) INFO="Xubuntu|-|https://xubuntu.org/|Elegant and easy to use operating system. Xubuntu comes with Xfce, which is a stable, light and configurable desktop environment.";; - zorin) INFO="Zorin OS|-|https://zorin.com/os/|Alternative to Windows and macOS designed to make your computer faster, more powerful, secure, and privacy-respecting.";; - esac - echo "${INFO}" -} - function show_os_info() { + # shellcheck source=public/alpine + . "public/${1}" echo - echo -e "$(os_info "${1}" | cut -d'|' -f 1)" - echo -e " - Credentials:\t$(os_info "${1}" | cut -d'|' -f 2)" - echo -e " - Website:\t$(os_info "${1}" | cut -d'|' -f 3)" - echo -e " - Description:\t$(os_info "${1}" | cut -d'|' -f 4)" -} - -function pretty_name() { - os_info "${1}" | cut -d'|' -f 1 + echo " ${PRETTY}" + echo $" Website: ${HOMEPAGE}" + echo $" Based of: ${BASEDOF}" + echo $"Description: ${DESCRIPTION}" + echo $"Credentials: ${CREDENTIALS}" + echo $"Releases: ${RELEASES}" | fmt -w 80 + if [[ $(type -t "editions_") == function ]]; then + echo -n $"Editions: ${EDITIONS}" | fmt -w 80 + fi } -# Just in case quickget want use it -function os_homepage() { - os_info "${1}" | cut -d'|' -f 3 +function os_support() { + DIR="actions" + for file in "$DIR"/*; do + if [[ -f "$file" ]]; then + filename="${file##*/}" + echo "$filename" + fi + done } function error_specify_os() { - echo "ERROR! You must specify an operating system." - echo "- Supported Operating Systems:" + echo $"ERROR! You must specify an operating system." + echo $"- Supported Operating Systems:" os_support | fmt -w 80 - echo -e "\nTo see all possible arguments, use:\n quickget -h or quickget --help" + echo -e $"\nTo see all possible arguments, use:\n quickget -h or quickget --help" exit 1 } function os_supported() { if [[ ! "$(os_support)" =~ ${OS} ]]; then - echo -e "ERROR! ${OS} is not a supported OS.\n" + echo -e $"ERROR! ${OS} is not a supported OS.\n" os_support | fmt -w 80 exit 1 fi @@ -155,47 +62,22 @@ function os_supported() { function error_specify_release() { show_os_info "${OS}" - case ${OS} in - *ubuntu-server*) - echo -en " - Releases:\t" - releases_ubuntu-server - ;; - *ubuntu*) - echo -en " - Releases:\t" - releases_ubuntu - ;; - *windows*) - echo -en " - Releases:\t" - "releases_${OS}" - echo -en " - Languages:\t" - "languages_${OS}" - echo "${I18NS[@]}" - ;; - *) - echo -en " - Releases:\t" - "releases_${OS}" | fmt -w 80 - if [[ $(type -t "editions_${OS}") == function ]]; then - echo -en " - Editions:\t" - "editions_${OS}" | fmt -w 80 - fi - ;; - esac - echo -e "\nERROR! You must specify a release." + echo -e $"\nERROR! You must specify a release." exit 1 } function error_not_supported_release() { if [[ ! "${RELEASES[*]}" =~ ${RELEASE} ]]; then - echo -e "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\n" - echo -n ' - Supported releases: ' - "releases_${OS}" + echo -e $"ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\n" + echo -n $' - Supported releases: ' + releases_ exit 1 fi } function error_not_supported_lang() { - echo -e "ERROR! ${I18N} is not a supported $(pretty_name "${OS}") language\n" - echo -n ' - Editions: ' + echo -e $"ERROR! ${I18N} is not a supported ${PRETTY} language\n" + echo -n $' - Editions: ' for I18N in "${I18NS[@]}"; do echo -n "${I18N} " done @@ -203,12 +85,33 @@ function error_not_supported_lang() { } function error_not_supported_argument() { - echo "ERROR! Not supported argument" - echo "To see all possible arguments, use:" + echo $"ERROR! Not supported argument" + echo $"To see all possible arguments, use:" echo " quickget -h or quickget --help" exit 1 } +function error_unable_to_create_dir() { + echo $"ERROR! Unable to create directory ${DIR}" + exit 1 +} + +function error_not_supported_image() { + echo $"ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" + exit 1 +} + +function is_valid_language() { + local I18N="" + local PASSED_I18N="${1}" + for I18N in "${I18NS[@]}"; do + if [[ "${I18N}" == "${PASSED_I18N}" ]]; then + return 0 + fi + done + return 1 +} + function handle_missing() { # Handle odd missing Fedora combinations case "${OS}" in @@ -220,8 +123,8 @@ function handle_missing() { NRELEASE="${RELEASE}" fi if [[ "${NRELEASE}" -lt 40 && "${EDITION}" == "Onyx" ]] || [[ "${NRELEASE}" -lt 40 && "${EDITION}" == "Sericea" ]]; then - echo "ERROR! Unsupported combination" - echo " Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition" + echo $"ERROR! Unsupported combination" + echo $" Fedora ${RELEASE} ${EDITION} is not available, please choose another Release or Edition" exit 1 fi;; esac @@ -232,10 +135,10 @@ function validate_release() { local RELEASE_GENERATOR="" local RELEASES="" - DISPLAY_NAME="$(pretty_name "${OS}")" + DISPLAY_NAME="${PRETTY}" case ${OS} in - *ubuntu-server*) RELEASE_GENERATOR="releases_ubuntu-server";; - *ubuntu*) RELEASE_GENERATOR="releases_ubuntu";; + *ubuntu-server*) RELEASE_GENERATOR="releases_";; + *ubuntu*) RELEASE_GENERATOR="releases_";; *) RELEASE_GENERATOR="${1}";; esac RELEASES=$(${RELEASE_GENERATOR}) @@ -253,7 +156,88 @@ function list_csv() { echo "Display Name,OS,Release,Option,Downloader,PNG,SVG" sort -t',' -k2,2 <<<"${CSV_DATA}" + exit 0 +} + +# OLD FUNCTIONS TO REMADE? + +list_supported() { + # output OS RELEASE EDITION (usefull for straight testing...) + local DL="" + local FUNC + local OPTION + local OS + + for OS in $(os_support); do + case ${OS} in + *ubuntu-server*) FUNC="ubuntu-server";; + *ubuntu*) FUNC="ubuntu";; + *) FUNC="${OS}";; + esac + for RELEASE in $(releases_ | sed -Ee 's/eol-\S+//g' ); do # hide eol releases + # If the OS has an editions_() function, use it. + if [[ $(type -t editions_) == function ]]; then + for OPTION in $(editions_); do + echo "${OS} ${RELEASE} ${OPTION}" + done + elif [[ "${OS}" == "windows"* ]]; then + "languages_" + for OPTION in "${LANGS[@]}"; do + echo "${OS} ${RELEASE} ${OPTION}" + done + else + echo "${OS} ${RELEASE}" + fi + done + done + exit 0 +} +list_isos() { + local URL + local FUNC + local OPTION + local OS + echo "OS|Release|Edition|URL" + for OS in $(os_support); do + case ${OS} in + *ubuntu-server*) FUNC="ubuntu-server";; + *ubuntu*) FUNC="ubuntu";; + *) FUNC="${OS}";; + esac + for RELEASE in $(releases_ | sed -Ee 's/eol-\S+//g' ); do # hide eol releases + # If the OS has an editions_() function, use it. + if [[ $(type -t editions_) == function ]]; then + for OPTION in $(editions_); do + URL=$(./quickget -u "${OS}" "${RELEASE}" "${OPTION}") + if [ -z "${URL}" ]; then + echo "${OS}|${RELEASE}|${OPTION}|${URL}" + else + echo "${OS}|${RELEASE}|${OPTION}|${URL}" + fi + done + elif [[ "${OS}" == "windows"* ]]; then + languages_ + for OPTION in "${LANGS[@]}"; do + #URL=$(./quickget -u ${OS} ${RELEASE} ${OPTION}) + if [ -n "${URL}" ]; then + echo "${OS}|${RELEASE}|${OPTION}|" + else + echo "${OS}|${RELEASE}|${OPTION}|Strange!" #TODO + fi + done + elif [[ "${OS}" == "macos" ]]; then + echo "${OS}|${RELEASE}|${OPTION}|" + else + URL=$(./quickget -u "${OS}" "${RELEASE}") + if [ -z "${URL}" ]; then + echo "${OS}|${RELEASE}|${OPTION}|${URL}" + else + echo "${OS}|${RELEASE}|${OPTION}|${URL}" + fi + fi + done + done exit 0 } @@ -276,7 +260,7 @@ function csv_data() { for OS in $(os_support); do local EDITIONS="" - DISPLAY_NAME="$(pretty_name "${OS}")" + DISPLAY_NAME="${PRETTY}" case ${OS} in *ubuntu-server*) FUNC="ubuntu-server";; @@ -287,11 +271,11 @@ function csv_data() { PNG="https://quickemu-project.github.io/quickemu-icons/png/${FUNC}/${FUNC}-quickemu-white-pinkbg.png" SVG="https://quickemu-project.github.io/quickemu-icons/svg/${FUNC}/${FUNC}-quickemu-white-pinkbg.svg" - if [[ $(type -t "editions_${OS}") == function ]]; then - EDITIONS=$(editions_"${OS}") + if [[ $(type -t editions_) == function ]]; then + EDITIONS=$(editions_) fi - for RELEASE in $("releases_${FUNC}"); do + for RELEASE in $(releases_); do if [[ "${OS}" == *"ubuntu"* ]] && [[ ${RELEASE} == *"daily"* ]] && [ ${HAS_ZSYNC} -eq 1 ]; then DOWNLOADER="zsync" else @@ -304,7 +288,7 @@ function csv_data() { echo "${DISPLAY_NAME},${OS},${RELEASE},${OPTION},${DOWNLOADER},${PNG},${SVG}" done elif [[ "${OS}" == "windows"* ]]; then - "languages_${OS}" + languages_ for I18N in "${I18NS[@]}"; do echo "${DISPLAY_NAME},${OS},${RELEASE},${I18N},${DOWNLOADER},${PNG},${SVG}" done @@ -321,6 +305,8 @@ function list_supported() { exit 0 } +# OLD FUNCTIONS TO REMADE? + function test_result() { local OS="${1}" local RELEASE="${2}" @@ -353,12 +339,15 @@ function test_all() { FUNC="ubuntu" fi local URL="" - - for RELEASE in $("releases_${FUNC}"); do - if [[ $(type -t "editions_${OS}") == function ]]; then - for EDITION in $(editions_"${OS}"); do - validate_release releases_"${OS}" - URL=$(get_"${OS}" | cut -d' ' -f1 | head -n 1) + . "actions/${OS}" + + for RELEASE in $(releases_); do + . "actions/${OS}" + if [[ $(type -t editions_) == function ]]; then + . "actions/${OS}" + for EDITION in $(editions_); do + validate_release releases_ + URL=$(get_ | cut -d' ' -f1 | head -n 1) if [ "${OPERATION}" == "show" ]; then test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" elif [ "${OPERATION}" == "test" ]; then @@ -367,9 +356,10 @@ function test_all() { fi done elif [[ "${OS}" == "windows"* ]]; then - "languages_${OS}" + . "actions/${OS}" + languages_ for I18N in "${I18NS[@]}"; do - validate_release releases_"${OS}" + validate_release releases_ if [ "${OPERATION}" == "show" ]; then test_result "${OS}" "${RELEASE}" "${I18N}" "" elif [ "${OPERATION}" == "test" ]; then @@ -377,17 +367,17 @@ function test_all() { fi done elif [[ "${OS}" == "macos" ]]; then - validate_release releases_macos - (get_macos) + validate_release releases_ + (get_) elif [ "${OS}" == "ubuntu-server" ]; then - validate_release releases_ubuntu-server - (get_ubuntu-server) + validate_release releases_ + (get_) elif [[ "${OS}" == *ubuntu* ]]; then - validate_release releases_ubuntu - (get_ubuntu) + validate_release releases_ + (get_) else - validate_release releases_"${OS}" - URL=$(get_"${OS}" | cut -d' ' -f1 | head -n 1) + validate_release releases_ + URL=$(get_ | cut -d' ' -f1 | head -n 1) if [ "${OPERATION}" == "show" ]; then test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" elif [ "${OPERATION}" == "test" ]; then @@ -398,2912 +388,381 @@ function test_all() { done } -function os_support() { - echo alma \ - alpine \ - android \ - antix \ - archcraft \ - archlinux \ - arcolinux \ - artixlinux \ - athenaos \ - batocera \ - bazzite \ - biglinux \ - blendos \ - bodhi \ - bunsenlabs \ - cachyos \ - centos-stream \ - chimeralinux \ - crunchbang++ \ - debian \ - deepin \ - devuan \ - dragonflybsd \ - easyos \ - edubuntu \ - elementary \ - endeavouros \ - endless \ - fedora \ - freebsd \ - freedos \ - garuda \ - gentoo \ - ghostbsd \ - gnomeos \ - guix \ - haiku \ - holoiso \ - kali \ - kdeneon \ - kolibrios \ - kubuntu \ - linuxlite \ - linuxmint \ - lmde \ - lubuntu \ - maboxlinux \ - macos \ - mageia \ - manjaro \ - mxlinux \ - netboot \ - netbsd \ - nitrux \ - nixos \ - nwg-shell \ - openbsd \ - openindiana \ - opensuse \ - oraclelinux \ - parrotsec \ - peppermint \ - popos \ - porteus \ - primtux \ - proxmox-ve \ - pureos \ - reactos \ - rebornos \ - rockylinux \ - siduction \ - slackware \ - slax \ - slint \ - slitaz \ - solus \ - sparkylinux \ - spirallinux \ - tails \ - tinycore \ - trisquel \ - truenas-core \ - truenas-scale \ - tuxedo-os \ - ubuntu \ - ubuntu-budgie \ - ubuntu-mate \ - ubuntu-server \ - ubuntu-unity \ - ubuntucinnamon \ - ubuntukylin \ - ubuntustudio \ - vanillaos \ - void \ - vxlinux \ - windows \ - windows-server \ - xubuntu \ - zorin -} - -function releases_alma() { - echo 9 8 -} - -function editions_alma() { - echo boot minimal dvd -} - -function releases_alpine() { - local REL="" - local RELS="" - RELS=$(web_pipe "https://dl-cdn.alpinelinux.org/alpine/" | grep '"v' | cut -d'"' -f2 | tr -d / | sort -Vr | head -n 10) - for REL in ${RELS}; do - if web_check "https://dl-cdn.alpinelinux.org/alpine/${REL}/releases/x86_64/"; then - echo -n "${REL} " - fi - done -} - -function releases_android() { - echo 9.0 8.1 7.1 -} - -function editions_android() { - echo x86_64 x86 -} - -function releases_antix() { - echo 23.1 23 22 21 -} - -function editions_antix() { - echo net-sysv core-sysv base-sysv full-sysv net-runit core-runit base-runit full-runit -} - -function releases_archcraft() { - echo latest -} - -function releases_archlinux() { - echo latest -} - -function releases_arcolinux() { - #shellcheck disable=SC2046,SC2005 - # breaking change in v24.05 - # v24.05.1 is the first release with the new naming scheme and too complex to parse old and new so just show the new - echo $(web_pipe "https://mirror.accum.se/mirror/arcolinux.info/iso/" | grep -o -E -e "v24.0[5-9].[[:digit:]]{2}" -e "v24.1[0-2].[[:digit:]]{2}" | sort -ru | head -n 5) -} - -function editions_arcolinux() { - echo net plasma pro -} - -function releases_artixlinux() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://mirror1.artixlinux.org/iso/" | grep "artix-" | cut -d'"' -f2 | grep -v sig | cut -d'-' -f 4 | sort -ru | tail -n 1) -} - -function editions_artixlinux() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://mirror1.artixlinux.org/iso/" | grep "artix-" | cut -d'"' -f2 | grep -v sig | cut -d'-' -f2-3 | sort -u) -} - -function releases_athenaos() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://api.github.com/repos/Athena-OS/athena/releases" | grep 'download_url' | grep rolling | cut -d'/' -f8 | sort -u) -} - -function releases_batocera() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://mirrors.o2switch.fr/batocera/x86_64/stable/" | grep ^\<a | cut -d'"' -f2 | cut -d '/' -f1 | grep -v '\.' | sort -ru | tail -n +2 | head -n 5) -} - -function releases_bazzite() { - echo latest -} - -function editions_bazzite() { - echo gnome kde -} - -function releases_biglinux() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://iso.biglinux.com.br" | grep -Eo 'biglinux_[0-9]{4}(-[0-9]{2}){2}_k[0-9]{2,3}.iso' | cut -d'_' -f2 | sort -ru | head -n 1) -} - -function editions_biglinux() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://iso.biglinux.com.br" | grep -Eo "biglinux_$(releases_biglinux)_k[0-9]{2,3}.iso" | cut -d'_' -f3 | cut -d'.' -f1 | sort -Vru) +function check_hash() { + local iso="" + local hash="" + local hash_algo="" + if [ "${OPERATION}" == "download" ]; then + iso="${1}" + else + iso="${VM_PATH}/${1}" + fi + hash="${2}" + # Guess the hash algorithm by the hash length + case ${#hash} in + 32) hash_algo=md5sum;; + 40) hash_algo=sha1sum;; + 64) hash_algo=sha256sum;; + 128) hash_algo=sha512sum;; + *) echo $"WARNING! Can't guess hash algorithm, not checking ${iso} hash." + return;; + esac + echo -n $"Checking ${iso} with ${hash_algo}... " + if ! echo "${hash} ${iso}" | ${hash_algo} --check --status; then + echo $"ERROR!" + echo $"${iso} doesn't match ${hash}. Try running 'quickget' again." + exit 1 + else + echo $"Good!" + fi } -function releases_blendos() { - # there is now just a single latest iso - echo latest +# Download a file from the web and pipe it to stdout +function web_pipe() { + curl --disable --silent --location "${1}" } -function releases_bodhi() { - echo 7.0.0 +# Download a JSON file from the web and pipe it to stdout +function web_pipe_json() { + curl --disable --silent --location --header "Accept: application/json" "${1}" } -function editions_bodhi() { - echo standard hwe s76 -} +# Download a file from the web +function web_get() { + local CHECK="" + local HEADERS=() + local URL="${1}" + local DIR="${2}" + local FILE="" + local USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" -function releases_bunsenlabs() { - echo boron -} + if [ -n "${3}" ]; then + FILE="${3}" + else + FILE="${URL##*/}" + fi -function releases_cachyos() { - # new cdn setup 10/2024 - echo latest -} + # Process any URL redirections after the file name has been extracted + URL=$(web_redirect "${URL}") -function editions_cachyos() { - # desktop version now installs different desktop environments - echo desktop handheld -} + # Process any headers + while (( "$#" )); do + if [ "${1}" == "--header" ]; then + HEADERS+=("${1}" "${2}") + shift 2 + else + shift + fi + done -function releases_centos-stream() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://linuxsoft.cern.ch/centos-stream/" | grep "\-stream" | cut -d'"' -f 6 | cut -d'-' -f 1) -} + # Test mode for ISO + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" + exit 0 + elif [ "${OPERATION}" == "test" ]; then + CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" + exit 0 + elif [ "${OPERATION}" == "download" ]; then + DIR="$(pwd)" + fi -function editions_centos-stream() { - echo boot dvd1 -} + if [ "${DIR}" != "$(pwd)" ] && ! mkdir -p "${DIR}" 2>/dev/null; then + error_unable_to_create_dir + fi -function releases_chimeralinux() { - echo latest -} + if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then + echo $"Downloading ${PRETTY} ${RELEASE} ${EDITION}" + echo $"- URL: ${URL}" + fi -function editions_chimeralinux() { - echo base gnome + if ! curl --disable --progress-bar --location --output "${DIR}/${FILE}" --continue-at - --user-agent "${USER_AGENT}" "${HEADERS[@]}" -- "${URL}"; then + echo $"ERROR! Failed to download ${URL} with curl." + rm -f "${DIR}/${FILE}" + fi } -function releases_crunchbang++() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://api.github.com/repos/CBPP/cbpp/releases" | grep 'download_url' | cut -d'-' -f2 | grep '^[0-9]' | sort -gru) +# checks if a URL needs to be redirected and returns the final URL +function web_redirect() { + local REDIRECT_URL="" + local URL="${1}" + # Check for URL redirections + # Output to nonexistent directory so the download fails fast + REDIRECT_URL=$(curl --disable --silent --location --fail --write-out '%{url_effective}' --output /var/cache/${RANDOM}/${RANDOM} "${URL}") + if [ "${REDIRECT_URL}" != "${URL}" ]; then + echo "${REDIRECT_URL}" + else + echo "${URL}" + fi } -function releases_debian() { - local ARCHIVE="" - local MAJ="" - local NEW="" - local OLD="" - NEW=$(web_pipe "https://cdimage.debian.org/debian-cd/" | grep '\.[0-9]/' | cut -d'>' -f 9 | cut -d'/' -f 1) - echo -n "${NEW}" - MAJ=$(echo "${NEW}" | cut -d'.' -f 1) - ARCHIVE="$(web_pipe "https://cdimage.debian.org/cdimage/archive/" | grep folder | grep -v NEVER | cut -d'"' -f 6)" - for i in {1..2}; do - CUR=$((MAJ - i)) - OLD=$(grep ^"${CUR}" <<< "${ARCHIVE}" | tail -n 1 | tr -d '/') - echo -n " ${OLD}" +# checks if a URL is reachable +function web_check() { + local HEADERS=() + local URL="${1}" + # Process any headers + while (( "$#" )); do + if [ "${1}" == "--header" ]; then + HEADERS+=("${1}" "${2}") + shift 2 + else + shift + fi done - echo -} - -function editions_debian() { - echo standard cinnamon gnome kde lxde lxqt mate xfce netinst -} - -function releases_deepin() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://mirrors.kernel.org/deepin-cd/" | grep "href=" | cut -d'"' -f2 | grep -v "\.\." | grep -v nightly | grep -v preview | sed 's|/||g' | tail -n 10 | sort -r) -} - -function releases_devuan() { - echo daedalus chimaera beowulf -} - -function releases_dragonflybsd() { - # If you remove "".bz2" from the end of the searched URL, you will get only the current release - currently 6.4.0 - # We could add a variable so this behaviour is optional/switchable (maybe from option or env) - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://mirror-master.dragonflybsd.org/iso-images/" | grep -E -o '"dfly-x86_64-.*_REL.iso.bz2"' | grep -o -E '[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+') + curl --disable --silent --location --head --output /dev/null --fail --connect-timeout 30 --max-time 30 --retry 3 "${HEADERS[@]}" "${URL}" } -function releases_easyos() { - local ALL_RELEASES="" - local YEAR="" - # get the latest 2 years of releases so that when we hit next year we still have the latest 2 years - TWO_YEARS=$(web_pipe https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/ | grep -o -E '[[:digit:]]{4}/' | sort -nr | tr -d / | head -n 2 ) - for YEAR in ${TWO_YEARS} ; do - ALL_RELEASES="${ALL_RELEASES} $(web_pipe https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/ | grep -o -E '[[:digit:]]+(\.[[:digit:]])+/' | tr -d / | sort -nr)" - done - echo ${ALL_RELEASES} -} +function zsync_get() { + local CHECK="" + local DIR="${2}" + local FILE="${1##*/}" + local OUT="" + local URL="${1}" + # Test mode for ISO + if [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" + exit 0 + elif [ "${OPERATION}" == "test" ]; then + CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" + exit 0 + elif command -v zsync &>/dev/null; then + if [ -n "${3}" ]; then + OUT="${3}" + else + OUT="${FILE}" + fi + if ! mkdir -p "${DIR}" 2>/dev/null; then + error_unable_to_create_dir + fi + echo $"Downloading ${PRETTY} ${RELEASE} ${EDITION} from ${URL}" + # Only force http for zsync - not earlier because we might fall through here + if ! zsync "${URL/https/http}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then + echo $"ERROR! Failed to download ${URL/https/http}.zsync" + exit 1 + fi -function releases_elementary() { - echo 8.0 7.1 7.0 + if [ -e "${DIR}/${OUT}.zs-old" ]; then + rm "${DIR}/${OUT}.zs-old" + fi + else + echo $"INFO: zsync not found, falling back to curl" + if [ -n "${3}" ]; then + web_get "${1}" "${2}" "${3}" + else + web_get "${1}" "${2}" + fi + fi } -function releases_endeavouros() { - local ENDEAVOUR_RELEASES="" - ENDEAVOUR_RELEASES="$(web_pipe "https://mirror.alpix.eu/endeavouros/iso/" | grep -o '<a href="[^"]*.iso">' | sed 's/^<a href="//;s/.iso">.*//' | grep -v 'x86_64' | LC_ALL="en_US.UTF-8" sort -Mr | cut -c 13- | head -n 5 | tr '\n' ' ')" - echo "${ENDEAVOUR_RELEASES,,}" -} - -function releases_endless() { - echo 6.0.4 -} - -function editions_endless() { - echo base en fr pt_BR es -} - -function releases_fedora() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://getfedora.org/releases.json" | jq -r 'map(.version) | unique | .[]' | sed 's/ /_/g' | sort -r) -} - -function editions_fedora() { - #shellcheck disable=SC2046,SC2005 - if [[ -z ${RELEASE} ]]; then - echo $(web_pipe "https://getfedora.org/releases.json" | jq -r "map(select(.arch==\"x86_64\" and .variant!=\"Labs\" and .variant!=\"IoT\" and .variant!=\"Container\" and .variant!=\"Cloud\" and .variant!=\"Everything\" and .subvariant!=\"Security\" and .subvariant!=\"Server_KVM\" and .subvariant!=\"SoaS\")) | map(.subvariant) | unique | .[]") - else - echo $(web_pipe "https://getfedora.org/releases.json" | jq -r "map(select(.arch==\"x86_64\" and .version==\"${RELEASE/_/ }\" and .variant!=\"Labs\" and .variant!=\"IoT\" and .variant!=\"Container\" and .variant!=\"Cloud\" and .variant!=\"Everything\" and .subvariant!=\"Security\" and .subvariant!=\"Server_KVM\" and .subvariant!=\"SoaS\")) | map(.subvariant) | unique | .[]") - fi -} - -function releases_freebsd() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://download.freebsd.org/ftp/releases/amd64/amd64/" | grep -Eo "href=\"[0-9\.]+-RELEASE" | grep -oE '[0-9\.]+' | sort -r) -} - -function editions_freebsd() { - echo disc1 dvd1 -} - -function releases_freedos() { - echo 1.3 1.2 -} - -function releases_garuda() { - echo latest -} - -function editions_garuda() { - echo cinnamon dr460nized dr460nized-gaming gnome i3 kde-git kde-lite lxqt-kwin mate qtile sway wayfire xfce -} - -function releases_gentoo() { - echo latest -} - -function editions_gentoo() { - echo minimal livegui -} - -function releases_ghostbsd() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://download.ghostbsd.org/releases/amd64/" | grep "href" | cut -d'"' -f2 | cut -d'/' -f1 | sort -r | tail -n +3 | head -n 3) -} - -function editions_ghostbsd() { - echo mate xfce -} - -function releases_gnomeos() { - #shellcheck disable=SC2046,SC2005 - echo "nightly" $(web_pipe "https://download.gnome.org/gnomeos/" | grep "title=" | awk -F'"' '{print $4}' | tr -d '/' | sort -nr) -} - -function releases_guix() { - echo 1.4.0 1.3.0 -} - -function releases_haiku() { - echo r1beta5 r1beta4 r1beta3 -} - -function editions_haiku() { - echo x86_64 x86_gcc2h -} - -function releases_holoiso() { - echo "latest" -} - -function releases_kali() { - echo current kali-weekly -} - -function releases_kdeneon() { - echo user testing unstable developer -} - -function releases_kolibrios() { - echo latest -} - -function editions_kolibrios() { - echo en_US ru_RU it_IT es_ES -} - -function releases_linuxlite() { - echo 6.6 6.4 6.2 6.0 -} - -function releases_linuxmint() { - echo 22 21.3 21.2 21.1 21 20.3 20.2 -} - -function editions_linuxmint() { - echo cinnamon mate xfce -} - -function editions_lmde() { - echo cinnamon -} - -function releases_lmde() { - echo 6 -} - -function releases_maboxlinux() { - echo latest -} - -function releases_macos() { - echo mojave catalina big-sur monterey ventura sonoma -} - -function releases_mageia() { - echo 9 8 -} - -function editions_mageia() { - echo Plasma GNOME Xfce -} - -function editions_manjaro() { - echo full minimal -} - -function releases_manjaro() { - echo xfce gnome plasma cinnamon i3 sway -} - -function releases_mxlinux() { - # needs header, so not web_pipe: - curl -Ils "https://sourceforge.net/projects/mx-linux/files/latest/download" | grep -i 'location:' | cut -d? -f1 | cut -d_ -f1 | cut -d- -f3 -} - -function editions_mxlinux() { - echo Xfce KDE Fluxbox -} - -function releases_netboot() { - echo latest -} - -function releases_netbsd() { - # V8 is EOL so filter it out - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://cdn.netbsd.org/pub/NetBSD/iso/" | grep -o -E '"[[:digit:]]+\.[[:digit:]]+/"' | tr -d '"/' | grep -v ^8 | sort -nr | head -n 4) -} - -function releases_nitrux() { - echo latest -} - -function releases_nixos() { - # Lists unstable plus the two most recent releases - #shellcheck disable=SC2046 - echo unstable $(web_pipe "https://nix-channels.s3.amazonaws.com/?delimiter=/" | grep -o -E 'nixos-[[:digit:]]+\.[[:digit:]]+' | cut -d- -f2 | sort -nru | head -n +2) -} - -function editions_nixos() { - echo minimal plasma gnome -} - -function releases_nwg-shell() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://sourceforge.net/projects/nwg-iso/rss?path=/" | grep 'url=' | grep '64.iso' | cut -d'/' -f12 | cut -d'-' -f3) -} - -function releases_openbsd() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://mirror.leaseweb.com/pub/OpenBSD/" | grep -e '6\.[8-9]/' -e '[7-9]\.' | cut -d\" -f4 | tr -d '/' | sort -r) -} - -function releases_openindiana() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://dlc.openindiana.org/isos/hipster/" | grep link | cut -d'/' -f 1 | cut -d '"' -f4 | sort -r | tail -n +2 | head -n 5) -} - -function editions_openindiana() { - echo gui text minimal -} - -function releases_opensuse() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://download.opensuse.org/distribution/leap/" | grep 'class="name"' | cut -d '/' -f2 | grep -v 42 | sort -r) aeon microos tumbleweed -} - -function releases_oraclelinux() { - echo 9.3 9.2 9.1 9.0 8.9 8.8 8.7 8.6 8.5 8.4 7.9 7.8 7.7 -} - -function releases_parrotsec() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -E 'href="[[:digit:]]\.[[:digit:]]+' | sort -nr | head -n 3 | cut -d\" -f 2 ) -} - -function editions_parrotsec() { - echo home htb security -} - -function releases_peppermint() { - echo latest -} - -function editions_peppermint() { - echo devuan-xfce devuan-gnome debian-xfce debian-gnome -} - -function releases_popos() { - echo 22.04 20.04 -} - -function editions_popos() { - echo intel nvidia -} - -function releases_porteus() { - echo 5.01 -} - -function editions_porteus() { - echo cinnamon gnome kde lxde lxqt mate openbox xfce -} - -function releases_primtux() { - echo 7 -} - -function editions_primtux() { - echo 2022-10 -} - -function releases_proxmox-ve() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe https://enterprise.proxmox.com/iso/ | grep proxmox-ve | grep -E -o '[0-9]+\.[0-9]+-[0-9]\.iso' | uniq | sort -ru | cut -d'.' -f 1-2) -} - -function releases_pureos() { - web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '"' -f 2 | cut -d '-' -f 4 -} - -function editions_pureos() { - echo gnome plasma -} - -function releases_reactos() { - echo latest -} - -function releases_rebornos() { - echo latest -} - -function releases_rockylinux() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "http://dl.rockylinux.org/vault/rocky/" | grep "^<a href" | grep -v full | grep -v RC | grep -v ISO | cut -d'"' -f2 | tr -d / | sort -ru) -} - -function editions_rockylinux() { - echo minimal dvd boot -} - -function releases_siduction() { - echo latest -} - -function editions_siduction() { - #shellcheck disable=SC2046,SC2005 - NAME=$(web_pipe "https://mirror.math.princeton.edu/pub/siduction/iso/" | grep folder | cut -d'"' -f8 | tr -d '/') - web_pipe "https://mirror.math.princeton.edu/pub/siduction/iso/${NAME}/" | grep folder | cut -d'"' -f8 | tr -d '/' | sort -u -} - -function releases_slackware() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://slackware.nl/slackware/slackware-iso/" | grep "slackware-" | cut -d'<' -f7 | cut -d'-' -f2 | sort -ru | head -n 5) -} - -function releases_slax() { - echo latest -} - -function editions_slax() { - echo debian slackware -} - -function releases_slint() { - echo "15.0-5" -} - -function releases_slitaz() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://mirror.slitaz.org/iso/rolling/" | grep "class='iso'" | cut -d"'" -f4 | cut -d'-' -f3- | grep iso | cut -d'.' -f1 | sort -u) -} - -function releases_solus() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe_json "https://downloads.getsol.us/isos/" | jq -r '.[].name[:-1]' | grep -E "^[0-9-]+$" | sort -u) -} - -function editions_solus() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe_json "https://downloads.getsol.us/isos/$(releases_solus | tail -n1)/" | jq -r '.[].name | sub("Solus-(?<e>.*)-Release-.*"; "\(.e)")' | sort -u) -} - -function releases_sparkylinux() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-.*\.iso\"" | cut -d'-' -f2 | sort -ru) -} - -function editions_sparkylinux() { - #shellcheck disable=SC2046,SC2005 - if [ -z "${RELEASE}" ]; then - echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-.*\.iso\"" | cut -d'-' -f4 | cut -d'.' -f1 | sort -u) - else - echo $(web_pipe "https://sparkylinux.org/download/stable/" | grep -E -o "sparkylinux-${RELEASE}-.*\.iso\"" | cut -d'-' -f4 | cut -d'.' -f1 | sort -u) - fi - -} - -function releases_spirallinux() { - echo latest -} - -function editions_spirallinux() { - echo Plasma XFCE Mate LXQt Gnome Budgie Cinnamon Builder -} - -function releases_tails() { - echo stable -} - -function releases_tinycore() { - echo 15 14 -} - -function editions_tinycore() { - echo Core TinyCore CorePlus CorePure64 TinyCorePure64 -} - -function releases_trisquel() { - echo 11.0 10.0.1 -} - -function editions_trisquel() { - echo mate lxde kde sugar -} - -function releases_truenas() { - if [[ ${OS} == truenas ]] ; then - echo "ERROR! The supported TrueNAS OS values are truenas-core or truenas-scale" - exit 1; - fi -} - -function releases_truenas-core() { - echo 13 -} - -function releases_truenas-scale() { - echo 24 -} - -function releases_tuxedo-os() { - echo current -} - -function releases_ubuntu() { - local VERSION_DATA="" - local SUPPORTED_VERSIONS=() - VERSION_DATA="$(IFS=$'\n' web_pipe https://api.launchpad.net/devel/ubuntu/series | jq -r '.entries[]')" - # shellcheck disable=SC2207 - SUPPORTED_VERSIONS=($(IFS=$'\n' jq -r 'select(.status=="Supported" or .status=="Current Stable Release") | .version' <<<"${VERSION_DATA}" | sort)) - case "${OS}" in - ubuntu) - echo "${SUPPORTED_VERSIONS[@]}" daily-live;; - kubuntu|lubuntu|ubuntukylin|ubuntu-mate|ubuntustudio|xubuntu) - # after 16.04 - echo "${SUPPORTED_VERSIONS[@]:1}" daily-live;; - ubuntu-budgie) - # after 18.04 - echo "${SUPPORTED_VERSIONS[@]:2}" daily-live;; - edubuntu|ubuntu-unity|ubuntucinnamon) - # after 23.10 - echo "${SUPPORTED_VERSIONS[@]:5}" daily-live;; - esac -} - -function releases_ubuntu-server() { - local ALL_VERSIONS=() - # shellcheck disable=SC2207 - ALL_VERSIONS=($(IFS=$'\n' web_pipe http://releases.ubuntu.com/streams/v1/com.ubuntu.releases:ubuntu-server.json | jq -r '.products[] | select(.arch=="amd64") | .version' | sort -rV)) - echo daily-live "${ALL_VERSIONS[@]}" -} - -function releases_vanillaos() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://api.github.com/repos/Vanilla-OS/live-iso/releases" | grep 'download_url' | cut -d'/' -f8 | sort -ru) -} - -function releases_void() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://repo-default.voidlinux.org/live/" | grep "^<a href=\"2" | cut -d'"' -f2 | tr -d '/' | sort -ru | head -n 3) -} - -function editions_void() { - echo glibc musl xfce-glibc xfce-musl -} - -function releases_vxlinux() { - #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://github.com/VX-Linux/main/releases/latest" | grep -o -e 'releases/tag/[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]' | sort -u | cut -d'/' -f 3) -} - -function releases_windows() { - echo 11 10 -} - -function languages_windows() { - I18NS=("Arabic" "Brazilian Portuguese" "Bulgarian" "Chinese (Simplified)" "Chinese (Traditional)" "Croatian" "Czech" "Danish" "Dutch" \ - "English (United States)" "English International" "Estonian" "Finnish" "French" "French Canadian" "German" "Greek" "Hebrew" "Hungarian" \ - "Italian" "Japanese" "Korean" "Latvian" "Lithuanian" "Norwegian" "Polish" "Portuguese" "Romanian" "Russian" "Serbian Latin" "Slovak" \ - "Slovenian" "Spanish" "Spanish (Mexico)" "Swedish" "Thai" "Turkish" "Ukrainian") -} - -function releases_windows-server() { - echo 2022 2019 2016 -} - -function languages_windows-server() { - I18NS=("English (United States)" "Chinese (Simplified)" "French" "German" "Italian" "Japanese" "Russian" "Spanish") -} - -function releases_zorin() { - echo 17 16 -} - -function editions_zorin() { - echo core64 lite64 education64 -} - -function check_hash() { - local iso="" - local hash="" - local hash_algo="" - if [ "${OPERATION}" == "download" ]; then - iso="${1}" - else - iso="${VM_PATH}/${1}" - fi - hash="${2}" - # Guess the hash algorithm by the hash length - case ${#hash} in - 32) hash_algo=md5sum;; - 40) hash_algo=sha1sum;; - 64) hash_algo=sha256sum;; - 128) hash_algo=sha512sum;; - *) echo "WARNING! Can't guess hash algorithm, not checking ${iso} hash." - return;; - esac - echo -n "Checking ${iso} with ${hash_algo}... " - if ! echo "${hash} ${iso}" | ${hash_algo} --check --status; then - echo "ERROR!" - echo "${iso} doesn't match ${hash}. Try running 'quickget' again." - exit 1 - else - echo "Good!" - fi -} - -# Download a file from the web and pipe it to stdout -function web_pipe() { - curl --silent --location "${1}" -} - -# Download a JSON file from the web and pipe it to stdout -function web_pipe_json() { - curl --silent --location --header "Accept: application/json" "${1}" -} - -# Download a file from the web -function web_get() { - local CHECK="" - local HEADERS=() - local URL="${1}" - local DIR="${2}" - local FILE="" - local USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" - - if [ -n "${3}" ]; then - FILE="${3}" - else - FILE="${URL##*/}" - fi - - # Process any URL redirections after the file name has been extracted - URL=$(web_redirect "${URL}") - - # Process any headers - while (( "$#" )); do - if [ "${1}" == "--header" ]; then - HEADERS+=("${1}" "${2}") - shift 2 - else - shift - fi - done - - # Test mode for ISO - if [ "${OPERATION}" == "show" ]; then - test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" - exit 0 - elif [ "${OPERATION}" == "test" ]; then - CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") - test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" - exit 0 - elif [ "${OPERATION}" == "download" ]; then - DIR="$(pwd)" - fi - - if [ "${DIR}" != "$(pwd)" ] && ! mkdir -p "${DIR}" 2>/dev/null; then - echo "ERROR! Unable to create directory ${DIR}" - exit 1 - fi - - if [[ ${OS} != windows && ${OS} != macos && ${OS} != windows-server ]]; then - echo "Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION}" - echo "- URL: ${URL}" - fi - - if ! curl --progress-bar --location --output "${DIR}/${FILE}" --continue-at - --user-agent "${USER_AGENT}" "${HEADERS[@]}" -- "${URL}"; then - echo "ERROR! Failed to download ${URL} with curl." - rm -f "${DIR}/${FILE}" - fi -} - -# checks if a URL needs to be redirected and returns the final URL -function web_redirect() { - local REDIRECT_URL="" - local URL="${1}" - # Check for URL redirections - # Output to nonexistent directory so the download fails fast - REDIRECT_URL=$(curl --silent --location --fail --write-out '%{url_effective}' --output /var/cache/${RANDOM}/${RANDOM} "${URL}" ) - if [ "${REDIRECT_URL}" != "${URL}" ]; then - echo "${REDIRECT_URL}" - else - echo "${URL}" - fi -} - -# checks if a URL is reachable -function web_check() { - local HEADERS=() - local URL="${1}" - # Process any headers - while (( "$#" )); do - if [ "${1}" == "--header" ]; then - HEADERS+=("${1}" "${2}") - shift 2 - else - shift - fi - done - curl --silent --location --head --output /dev/null --fail --connect-timeout 30 --max-time 30 --retry 3 "${HEADERS[@]}" "${URL}" -} - -function zsync_get() { - local CHECK="" - local DIR="${2}" - local FILE="${1##*/}" - local OUT="" - local URL="${1}" - # Test mode for ISO - if [ "${OPERATION}" == "show" ]; then - test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" - exit 0 - elif [ "${OPERATION}" == "test" ]; then - CHECK=$(web_check "${URL}" && echo "PASS" || echo "FAIL") - test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "${CHECK}" - exit 0 - elif command -v zsync &>/dev/null; then - if [ -n "${3}" ]; then - OUT="${3}" - else - OUT="${FILE}" - fi - - if ! mkdir -p "${DIR}" 2>/dev/null; then - echo "ERROR! Unable to create directory ${DIR}" - exit 1 - fi - echo "Downloading $(pretty_name "${OS}") ${RELEASE} ${EDITION} from ${URL}" - # Only force http for zsync - not earlier because we might fall through here - if ! zsync "${URL/https/http}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then - echo "ERROR! Failed to download ${URL/https/http}.zsync" - exit 1 - fi - - if [ -e "${DIR}/${OUT}.zs-old" ]; then - rm "${DIR}/${OUT}.zs-old" - fi - else - echo "INFO: zsync not found, falling back to curl" - if [ -n "${3}" ]; then - web_get "${1}" "${2}" "${3}" - else - web_get "${1}" "${2}" - fi - fi -} - -function make_vm_config() { - local CONF_FILE="" - local IMAGE_FILE="" - local ISO_FILE="" - local IMAGE_TYPE="" - local GUEST="" - if [ "${OPERATION}" == "download" ]; then - exit 0 - fi - IMAGE_FILE="${1}" - ISO_FILE="${2}" - case "${OS}" in - batocera) - GUEST="batocera" - IMAGE_TYPE="img";; - custom) - GUEST="${CUSTOM_OS}" - IMAGE_TYPE="${CUSTOM_IMAGE_TYPE}";; - dragonflybsd) - GUEST="dragonflybsd" - IMAGE_TYPE="iso";; - easyos) - GUEST="linux" - IMAGE_TYPE="img";; - freebsd|ghostbsd) - GUEST="freebsd" - IMAGE_TYPE="iso";; - haiku) - GUEST="haiku" - IMAGE_TYPE="iso";; - freedos) - GUEST="freedos" - IMAGE_TYPE="iso";; - kolibrios) - GUEST="kolibrios" - IMAGE_TYPE="iso";; - macos) - GUEST="macos" - IMAGE_TYPE="img";; - netbsd) - GUEST="netbsd" - IMAGE_TYPE="iso";; - openbsd) - GUEST="openbsd" - IMAGE_TYPE="iso";; - openindiana) - GUEST="solaris" - IMAGE_TYPE="iso";; - reactos) - GUEST="reactos" - IMAGE_TYPE="iso";; - truenas*) - GUEST="truenas" - IMAGE_TYPE="iso";; - ubuntu*) - GUEST="linux" - IMAGE_TYPE="iso" - # If there is a point in the release, check if it is less than 16.04 - if [[ "${RELEASE}" != *"daily"* ]]; then - if [ "${RELEASE//./}" -lt 1604 ]; then - GUEST="linux_old" - fi - fi - ;; - windows) - GUEST="windows" - IMAGE_TYPE="iso";; - windows-server) - GUEST="windows-server" - IMAGE_TYPE="iso";; - *) - GUEST="linux" - IMAGE_TYPE="iso";; - esac - - CONF_FILE="${VM_PATH}.conf" - - if [ ! -e "${CONF_FILE}" ]; then - echo "Making ${CONF_FILE}" - cat << EOF > "${CONF_FILE}" -#!${QUICKEMU} --vm -guest_os="${GUEST}" -disk_img="${VM_PATH}/disk.qcow2" -${IMAGE_TYPE}="${VM_PATH}/${IMAGE_FILE}" -EOF - echo " - Setting ${CONF_FILE} executable" - chmod u+x "${CONF_FILE}" - if [ -n "${ISO_FILE}" ]; then - echo "fixed_iso=\"${VM_PATH}/${ISO_FILE}\"" >> "${CONF_FILE}" - fi - - # OS specific tweaks - case ${OS} in - alma|athenaos|centos-stream|endless|garuda|gentoo|kali|nixos|oraclelinux|popos|rockylinux) - echo "disk_size=\"32G\"" >> "${CONF_FILE}";; - openindiana) - echo "boot=\"legacy\"" >> "${CONF_FILE}" - echo "disk_size=\"32G\"" >> "${CONF_FILE}";; - batocera) - echo "disk_size=\"8G\"" >> "${CONF_FILE}";; - bazzite) - echo "disk_size=\"64G\"" >> "${CONF_FILE}";; - dragonflybsd|haiku|openbsd|netbsd|slackware|slax|tails|tinycore) - echo "boot=\"legacy\"" >> "${CONF_FILE}";; - deepin) - echo "disk_size=\"64G\"" >> "${CONF_FILE}" - echo "ram=\"4G\"" >> "${CONF_FILE}" - ;; - freedos) - echo "boot=\"legacy\"" >> "${CONF_FILE}" - echo "disk_size=\"4G\"" >> "${CONF_FILE}" - echo "ram=\"256M\"" >> "${CONF_FILE}" - ;; - kolibrios) - echo "boot=\"legacy\"" >> "${CONF_FILE}" - echo "disk_size=\"2G\"" >> "${CONF_FILE}" - echo "ram=\"128M\"" >> "${CONF_FILE}" - ;; - slint) - echo "disk_size=\"50G\"" >> "${CONF_FILE}" - ;; - slitaz) - echo "boot=\"legacy\"" >> "${CONF_FILE}" - echo "disk_size=\"4G\"" >> "${CONF_FILE}" - echo "ram=\"512M\"" >> "${CONF_FILE}" - ;; - truenas-scale|truenas-core) - echo "boot=\"legacy\"" >> "${CONF_FILE}" - # the rest is non-functional - # echo "bootdrive_size=\"5G\"" >> "${CONF_FILE}" # boot drive - # echo "1stdrive_size=\"20G\"" >> "${CONF_FILE}" # for testing - # echo "2nddrive_size=\"20G\"" >> "${CONF_FILE}" # again, for testing - ;; - ubuntu-server) - # 22.04+ fails on LVM build if disk size is < 10G - # 22.04.1 fails on auto-install if TPM is disabled - echo "disk_size=\"10G\"" >> "${CONF_FILE}" - echo "ram=\"4G\"" >> "${CONF_FILE}" - if [[ "${RELEASE}" == *"22.04"* ]]; then - echo "tpm=\"on\"" >> "${CONF_FILE}" - fi - ;; - vanillaos) - ## Minimum is 50G for abroot, but a 64GB is allocated to give some headroom - echo "disk_size=\"64G\"" >> "${CONF_FILE}" - ;; - zorin) - case ${EDITION} in - education64|edulite64) echo "disk_size=\"32G\"" >> "${CONF_FILE}";; - esac;; - reactos) - echo "boot=\"legacy\"" >> "${CONF_FILE}" - echo "disk_size=\"12G\"" >> "${CONF_FILE}" - echo "ram=\"2048M\"" >> "${CONF_FILE}" - ;; - macos) - echo "disk_size=\"128G\"" >> "${CONF_FILE}" - echo "macos_release=\"${RELEASE}\"" >> "${CONF_FILE}" - # https://github.com/quickemu-project/quickemu/issues/438 - if [ "${RELEASE}" == "monterey" ]; then - echo "cpu_cores=2" >> "${CONF_FILE}" - fi - ;; - proxmox-ve) - echo "disk_size=\"20G\"" >> "${CONF_FILE}" - echo "ram=\"4G\"" >> "${CONF_FILE}" - ;; - esac - - if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"* ]]; then - # Minimum to install lobster testing is 18GB but 32GB are allocated for headroom - echo "disk_size=\"32G\"" >> "${CONF_FILE}" - fi - - if [[ "${OS}" == "windows"* ]]; then - echo "disk_size=\"64G\"" >> "${CONF_FILE}" - fi - - # Enable TPM for Windows 11 and Windows Server 2022 - if [[ "${OS}" == "windows" && "${RELEASE}" == "11" || "${OS}" == "windows-server" && "${RELEASE}" == "2022" ]]; then - echo "tpm=\"on\"" >> "${CONF_FILE}" - echo "secureboot=\"off\"" >> "${CONF_FILE}" - fi - fi - echo -e "\nTo start your $(pretty_name "${OS}") virtual machine run:" - if [ "${OS}" == "slint" ]; then - echo -e " quickemu --vm ${CONF_FILE}\nTo start Slint with braille support run:\n quickemu --vm --braille --display sdl ${CONF_FILE}" - else - echo " quickemu --vm ${CONF_FILE}" - fi - - echo - exit 0 -} - -function get_alma() { - local HASH="" - local ISO="AlmaLinux-${RELEASE}-latest-x86_64-${EDITION}.iso" - local URL="https://repo.almalinux.org/almalinux/${RELEASE}/isos/x86_64" - HASH="$(web_pipe "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)" - echo "${URL}/${ISO} ${HASH}" -} - -function get_alpine() { - local HASH="" - local ISO="" - local URL="https://dl-cdn.alpinelinux.org/alpine/${RELEASE}/releases/x86_64" - local VERSION="" - VERSION=$(web_pipe "${URL}/latest-releases.yaml" | awk '/"Xen"/{found=0} {if(found) print} /"Virtual"/{found=1}' | grep 'version:' | awk '{print $2}') - ISO="alpine-virt-${VERSION}-x86_64.iso" - HASH=$(web_pipe "${URL}/latest-releases.yaml" | awk '/"Xen"/{found=0} {if(found) print} /"Virtual"/{found=1}' | grep 'sha256:' | awk '{print $2}') - echo "${URL}/${ISO} ${HASH}" -} - -function get_android() { - local HASH="" - local ISO="" - local JSON_ALL="" - local JSON_REL="" - local URL="https://mirrors.gigenet.com/OSDN/android-x86" - JSON_ALL=$(web_pipe "https://www.fosshub.com/Android-x86-old.html" | grep "var settings =" | cut -d'=' -f2-) - JSON_REL=$(echo "${JSON_ALL}" | jq --arg ver "${OS}-${EDITION}-${RELEASE}" 'first(.pool.f[] | select((.n | startswith($ver)) and (.n | endswith(".iso"))))') - ISO=$(echo "${JSON_REL}" | jq -r .n) - HASH=$(echo "${JSON_REL}" | jq -r .hash.sha256) - # Traverse the directories to find the .iso location - for DIR in $(web_pipe "${URL}" | grep -o -E '[0-9]{5}' | sort -ur); do - if web_pipe "${URL}/${DIR}" | grep "${ISO}" &>/dev/null; then - URL="${URL}/${DIR}" - break - fi - done - echo "${URL}/${ISO} ${HASH}" -} - -function get_antix() { - local HASH="" - local ISO="antiX-${RELEASE}" - local README="README" - local URL="https://sourceforge.net/projects/antix-linux/files/Final/antiX-${RELEASE}" - - # antiX uses a different URL and ISO naming for runit editions - if [[ "${EDITION}" == *"runit"* ]];then - ISO+="-runit" - README="README2" - case ${RELEASE} in - 21) URL+="/runit-bullseye";; - *) URL+="/runit-antiX-${RELEASE}";; - esac - fi - case ${EDITION} in - base-*) ISO+="_x64-base.iso";; - core-*) ISO+="_x64-core.iso";; - full-*) ISO+="_x64-full.iso";; - net-*) ISO+="-net_x64-net.iso";; - esac - HASH=$(web_pipe "${URL}/${README}.txt" | grep "${ISO}" | cut -d' ' -f1 | head -n 1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_archcraft() { - local HASH="" - local URL="" - URL="https://sourceforge.net/projects/archcraft/files/${RELEASE}/download" - URL="$(web_redirect "${URL}" | cut -d? -f1)" - echo "${URL} ${HASH}" -} - -function get_archlinux() { - local HASH="" - local ISO="" - local URL="https://mirror.rackspace.com/archlinux" - ISO=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].iso_url') - HASH=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha256_sum') - echo "${URL}${ISO} ${HASH}" -} - -function get_arcolinux() { - local HASH="" - local ISO="" - local URL="" - URL="https://mirror.accum.se/mirror/arcolinux.info/iso/${RELEASE}" - ISO="arco${EDITION}-${RELEASE}-x86_64.iso" - HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_artixlinux() { - local HASH="" - local ISO="" - local URL="https://iso.artixlinux.org/iso" - ISO="artix-${EDITION}-${RELEASE}-x86_64.iso" - HASH=$(web_pipe "${URL}/sha256sums" | grep "${ISO}") - echo "${URL}/${ISO} ${HASH}" -} - -function get_athenaos() { - local HASH="" - local URL="https://github.com/Athena-OS/athena/releases/download/${RELEASE}" - local ISO="athena-rolling-x86_64.iso" - HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_batocera() { - local HASH="" - local ISO="" - local URL="https://mirrors.o2switch.fr/batocera/x86_64/stable/${RELEASE}" - ISO="$(web_pipe "${URL}/" | grep -e 'batocera.*img.gz'| cut -d'"' -f2)" - echo "${URL}/${ISO} ${HASH}" -} - -function get_bazzite() { - local HASH="" - local ISO="" - local URL="https://download.bazzite.gg" - case ${EDITION} in - gnome) ISO="bazzite-gnome-stable.iso";; - kde) ISO="bazzite-stable.iso";; - esac - HASH=$(web_pipe "${URL}/${ISO}-CHECKSUM" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_biglinux() { - local HASH="" - local ISO="biglinux_${RELEASE}_${EDITION}.iso" - local URL="https://iso.biglinux.com.br" - HASH=$(web_pipe "${URL}/${ISO}.md5" | grep -Eo '[[:alnum:]]{32}') - echo "${URL}/${ISO} ${HASH}" -} - -function get_blendos() { - local HASH="" - local ISO="blendOS.iso" - local URL="https://kc1.mirrors.199693.xyz/blend/isos/testing" - echo "${URL}/${ISO} ${HASH}" -} - -function get_bodhi() { - local HASH="" - local ISO="" - local URL="https://sourceforge.net/projects/bodhilinux/files/${RELEASE}" - case ${EDITION} in - standard) ISO="bodhi-${RELEASE}-64.iso";; - *) ISO="bodhi-${RELEASE}-64-${EDITION}.iso";; - esac - HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_bunsenlabs() { - local HASH="" - local ISO="boron-1-240123-amd64.hybrid.iso" - local URL="https://ddl.bunsenlabs.org/ddl" - HASH=$(web_pipe "${URL}/release.sha256.txt" | head -n 1 | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_cachyos() { - local HASH="" - local URL="" - URL="$(web_pipe "https://cachyos.org/download/" | tr '&' '\n' | grep "ISO/${EDITION}" | grep -v 'iso.sha' | grep -v 'iso.sig' | cut -d';' -f2)" - HASH=$(web_pipe "${URL}.sha256" | cut -d' ' -f1) - echo "${URL} ${HASH}" -} - -function get_centos-stream() { - local HASH="" - local ISO="CentOS-Stream-${RELEASE}-latest-x86_64-${EDITION}.iso" - local URL="https://linuxsoft.cern.ch/centos-stream/${RELEASE}-stream/BaseOS/x86_64/iso" - HASH=$(web_pipe "${URL}/${ISO}.SHA256SUM" | grep "SHA256 (${ISO}" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_chimeralinux() { - local DATE="" - local HASH="" - local URL="https://repo.chimera-linux.org/live/${RELEASE}" - DATE=$(web_pipe "${URL}/sha256sums.txt" | head -n1 | cut -d'-' -f5) - local ISO="chimera-linux-x86_64-LIVE-${DATE}-${EDITION}.iso" - HASH=$(web_pipe "${URL}/sha256sums.txt" | grep 'x86_64-LIVE' | grep "${EDITION}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_crunchbang++() { - local HASH="" - local ISO="" - ISO=$(web_pipe "https://api.github.com/repos/CBPP/cbpp/releases" | grep 'download_url' | grep amd64 | grep "${RELEASE}" | cut -d'"' -f4) - echo "${ISO} ${HASH}" -} - -function get_debian() { - local DEBCURRENT="" - local HASH="" - local ISO="debian-live-${RELEASE}-amd64-${EDITION}.iso" - local URL="https://cdimage.debian.org/cdimage/archive/${RELEASE}-live/amd64/iso-hybrid" - DEBCURRENT=$(web_pipe "https://cdimage.debian.org/debian-cd/" | grep '\.[0-9]/' | cut -d'>' -f 9 | cut -d'/' -f 1) - case "${RELEASE}" in - "${DEBCURRENT}") URL="https://cdimage.debian.org/debian-cd/${RELEASE}-live/amd64/iso-hybrid";; - esac - if [ "${EDITION}" == "netinst" ]; then - URL="${URL/-live/}" - URL="${URL/hybrid/cd}" - ISO="${ISO/-live/}" - fi - HASH=$(web_pipe "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1 | head -n 1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_deepin() { - local HASH="" - local REV=${RELEASE} - # deepin-desktop-community-20.3-amd64.iso - local URL="https://cdimage.deepin.com/releases/"${RELEASE} - # Correct URL for 23-RC onwards which has architecture directories - if [ "${RELEASE}" != "20.9" ]; then - URL+="/amd64" - fi - local ISO="deepin-desktop-community-${REV}-amd64.iso" - HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_devuan() { - local HASH="" - local ISO="" - local URL="https://files.devuan.org/devuan_${RELEASE}/desktop-live" - local VER="" - case ${RELEASE} in - beowulf) VER="3.1.1";; - chimaera) VER="4.0.3";; - daedalus) VER="5.0.0";; - esac - ISO="devuan_${RELEASE}_${VER}_amd64_desktop-live.iso" - HASH=$(web_pipe "${URL}/SHASUMS.txt" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_dragonflybsd() { - local HASH="" - local ISO="dfly-x86_64-${RELEASE}_REL.iso.bz2" - local URL="http://mirror-master.dragonflybsd.org/iso-images" - HASH=$(web_pipe "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_easyos() { - local HASH="" - local URL="" - local ISO="" - local YEAR="" - ISO="easy-${RELEASE}-amd64.img" - TWO_YEARS=$(web_pipe https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/ | grep -o -E '[[:digit:]]{4}/' | sort -nr | tr -d / | head -n 2 ) - for YEAR in ${TWO_YEARS} ; do - if web_check "https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/${RELEASE}/" ; then - URL="https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/${RELEASE}" - HASH=$(web_pipe "${URL}/md5.sum.txt" | cut -d' ' -f1) - break - fi - done - echo "${URL}/${ISO} ${HASH}" -} - -function get_elementary() { - local HASH="" - case ${RELEASE} in - 7.0) STAMP="20230129rc";; - 7.1) STAMP="20230926rc";; - 8.0) STAMP="20241122rc";; - esac - local ISO="elementaryos-${RELEASE}-stable.${STAMP}.iso" - local URL="https://ams3.dl.elementary.io/download" - echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}" -} - -function get_endeavouros() { - local ENDEAVOUR_RELEASES="" - local HASH="" - local ISO="" - local URL="https://mirror.alpix.eu/endeavouros/iso" - # Find EndeavourOS releases from mirror, pick one matching release - ENDEAVOUR_RELEASES="$(web_pipe "${URL}/" | grep -o '<a href="[^"]*.iso">' | sed 's/^<a href="//;s/.iso">.*//' | grep -v 'x86_64')" - ISO="$(echo "${ENDEAVOUR_RELEASES}" | grep -i "${RELEASE}").iso" - HASH=$(web_pipe "${URL}/${ISO}.sha512sum" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_endless() { - local HASH="" # No hash - there is a signature in .asc signed by - #https://d1anzknqnc1kmb.cloudfront.net/eos-image-keyring.gpg - # (4096R: CB50 0F7B C923 3FAD 32B4 E720 9E0C 1250 587A 279C) - local FILE_TS="" - # https://support.endlessos.org/en/installation/direct-download gives the info but computes the URLS in js - # so parsing out the useful info is not happening tonight - # Endless edition names are "base" for the small minimal one or the Language for the large full release - # The isos are stamped as they are finished so .... - case ${EDITION} in - base) FILE_TS="241023-183516";; - en) FILE_TS="241023-200926";; - es) FILE_TS="241023-184649";; - fr) FILE_TS="241023-191212";; - pt_BR) FILE_TS="241023-191427";; - esac - URL="https://images-dl.endlessm.com/release/${RELEASE}/eos-amd64-amd64/${EDITION}" - ISO="eos-eos${RELEASE:0:3}-amd64-amd64.${FILE_TS}.${EDITION}.iso" - echo "${URL}/${ISO} ${HASH}" -} - -function get_fedora() { - local HASH="" - local ISO="" - local JSON="" - local URL="" - local VARIANT="" - case ${EDITION} in - Server|Kinoite|Onyx|Silverblue|Sericea|Workstation) VARIANT="${EDITION}";; - *) VARIANT="Spins";; - esac - # The naming of 41 Beta with a space is problematic so we replaced it with an underscore - # but we need to convert it back to a space for the URL search in the JSON - #shellcheck disable=SC2086 - # if RELEASE contains an underscore, replace it with a space - if [[ "${RELEASE}" == *"_"* ]]; then - RELEASE="${RELEASE/_/ }" - fi - - - - # shellcheck disable=SC2086 - JSON=$(web_pipe "https://getfedora.org/releases.json" | jq '.[] | select(.variant=="'${VARIANT}'" and .subvariant=="'"${EDITION}"'" and .arch=="x86_64" and .version=="'"${RELEASE}"'" and (.link | endswith(".iso")))') - URL=$(echo "${JSON}" | jq -r '.link' | head -n1) - HASH=$(echo "${JSON}" | jq -r '.sha256' | head -n1) - echo "${URL} ${HASH}" -} - -function get_freebsd() { - local HASH="" - local ISO="FreeBSD-${RELEASE}-RELEASE-amd64-${EDITION}.iso" - local URL="https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/${RELEASE}" - HASH=$(web_pipe "${URL}/CHECKSUM.SHA256-FreeBSD-${RELEASE}-RELEASE-amd64" | grep "${ISO}" | grep -v ".xz" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_freedos() { - local HASH="" - local ISO="" - local URL="https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/${RELEASE}/official" - case ${RELEASE} in - 1.2) ISO="FD12CD.iso" - HASH=$(web_pipe "${URL}/FD12.sha" | grep "${ISO}" | cut -d' ' -f1);; - 1.3) ISO="FD13-LiveCD.zip" - HASH=$(web_pipe "${URL}/verify.txt" | grep -A 8 "sha256sum" | grep "${ISO}" | cut -d' ' -f1);; - esac - echo "${URL}/${ISO} ${HASH}" -} - -function get_garuda() { - local HASH="" - local ISO="" - local URL="https://iso.builds.garudalinux.org/iso/latest/garuda" - ISO=${EDITION}/latest.iso - HASH="$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1)" - echo "${URL}/${ISO} ${HASH}" -} - -function get_gentoo() { - local HASH="" - local ISO="" - local URL="https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds" - case ${EDITION} in - minimal) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1);; - livegui) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep livegui | cut -d' ' -f1);; - esac - HASH=$(web_pipe "${URL}/${ISO}.DIGESTS" | grep -A 1 SHA512 | grep iso | grep -v CONTENTS | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_ghostbsd() { - local ISO="" - local URL="https://download.ghostbsd.org/releases/amd64/${RELEASE}" - local HASH="" - case ${EDITION} in - mate) ISO="GhostBSD-${RELEASE}.iso";; - xfce) ISO="GhostBSD-${RELEASE}-XFCE.iso";; - esac - HASH=$(web_pipe "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_gnomeos() { - local HASH="" - local ISO="gnome_os_installer_${RELEASE}.iso" - local URL="https://download.gnome.org/gnomeos/${RELEASE}" - case ${RELEASE} in - nightly) - ISO="gnome_os_installer.iso" - URL="https://os.gnome.org/download/latest";; - 46.0) ISO="gnome_os_installer_46.iso";; - 3*) ISO="gnome_os_installer.iso";; - esac - # Process the URL redirections; required for GNOME - ISO=$(web_redirect "${URL}/${ISO}") - echo "${ISO} ${HASH}" -} - -function get_guix() { - local HASH="" - local ISO="guix-system-install-${RELEASE}.x86_64-linux.iso" - local URL="https://ftpmirror.gnu.org/gnu/guix/" - echo "${URL}/${ISO} ${HASH}" -} - -function get_haiku() { - local ISO="haiku-${RELEASE}-${EDITION}-anyboot.iso" - local URL="http://mirror.rit.edu/haiku/${RELEASE}" - HASH=$(web_pipe "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_holoiso() { - local HASH="" - local URL="" - RELEASE="$(web_pipe "https://github.com/HoloISO/releases/releases" | grep -o -e 'releases/tag/[[:digit:]]\+\(\.[[:digit:]]\+\)*' | head -n 1 | cut -d'/' -f 3)" - URL=$(web_pipe "https://api.github.com/repos/HoloISO/releases/releases" | jq -r ".[] | select(.tag_name==\"${RELEASE}\") | .body" | sed -n 's/.*\(https:\/\/[^ ]*holoiso\.ru\.eu\.org\/[^ ]*\.iso\).*/\1/p' | head -n 1) - echo "${URL} ${HASH}" -} - -function get_kali() { - local HASH="" - local ISO="" - local URL="https://cdimage.kali.org/${RELEASE}" - ISO=$(web_pipe "${URL}/?C=M;O=D" | grep -o ">kali-linux-.*-installer-amd64.iso" | head -n 1 | cut -c 2-) - HASH=$(web_pipe "${URL}/SHA256SUMS" | grep -v torrent | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_kdeneon() { - local HASH="" - local ISO="" - local URL="https://files.kde.org/neon/images/${RELEASE}/current" - ISO=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-) - HASH=$(web_pipe "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_kolibrios() { - local HASH="" - local ISO="latest-iso.7z" - local URL="http://builds.kolibrios.org/${EDITION}" - echo "${URL}/${ISO} ${HASH}" -} - -function get_linuxlite() { - local HASH="" - local ISO="linux-lite-${RELEASE}-64bit.iso" - local URL="https://sourceforge.net/projects/linux-lite/files/${RELEASE}" - HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_linuxmint() { - local HASH="" - local ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso" - local URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}" - HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_lmde() { - local HASH="" - local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso" - local URL="https://mirror.bytemark.co.uk/linuxmint/debian" - HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_maboxlinux() { - local HASH="" - local URL="" - URL="https://sourceforge.net/projects/mabox-linux/files/${RELEASE}/download" - URL="$(web_redirect "${URL}" | cut -d? -f1)" - echo "${URL} ${HASH}" -} - -function generate_id() { - local macRecoveryID="" - local TYPE="${1}" - local valid_chars=("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F") - for ((i=0; i<TYPE; i++)); do - macRecoveryID+="${valid_chars[$((RANDOM % 16))]}" - done - echo "${macRecoveryID}" -} - -function get_macos() { - local appleSession="" - local info="" - local downloadLink="" - local downloadSession="" - local chunkListLink="" - local chunkListSession="" - local BOARD_ID="" - local CWD="" - local CHECK="" - local CHUNKCHECK="" - local MLB="00000000000000000" - local OS_TYPE="default" - - case ${RELEASE} in - lion|10.7) - BOARD_ID="Mac-2E6FAB96566FE58C" - MLB="00000000000F25Y00";; - mountainlion|10.8) - BOARD_ID="Mac-7DF2A3B5E5D671ED" - MLB="00000000000F65100";; - mavericks|10.9) - BOARD_ID="Mac-F60DEB81FF30ACF6" - MLB="00000000000FNN100";; - yosemite|10.10) - BOARD_ID="Mac-E43C1C25D4880AD6" - MLB="00000000000GDVW00";; - elcapitan|10.11) - BOARD_ID="Mac-FFE5EF870D7BA81A" - MLB="00000000000GQRX00";; - sierra|10.12) - BOARD_ID="Mac-77F17D7DA9285301" - MLB="00000000000J0DX00";; - high-sierra|10.13) - BOARD_ID="Mac-BE088AF8C5EB4FA2" - MLB="00000000000J80300";; - mojave|10.14) - BOARD_ID="Mac-7BA5B2DFE22DDD8C" - MLB="00000000000KXPG00";; - catalina|10.15) - BOARD_ID="Mac-00BE6ED71E35EB86";; - big-sur|11) - BOARD_ID="Mac-42FD25EABCABB274";; - monterey|12) - BOARD_ID="Mac-E43C1C25D4880AD6";; - ventura|13) - BOARD_ID="Mac-BE088AF8C5EB4FA2";; - sonoma|14) - BOARD_ID="Mac-53FDB3D8DB8CA971";; - *) echo "ERROR! Unknown release: ${RELEASE}" - releases_macos - exit 1;; - esac - - CWD="$(dirname "${0}")" - if [ -x "${CWD}/chunkcheck" ]; then - CHUNKCHECK="${CWD}/chunkcheck" - elif [ -x "$(command -v chunkcheck)" ]; then - CHUNKCHECK="$(command -v chunkcheck)" - fi - - appleSession=$(curl -v -H "Host: osrecovery.apple.com" \ - -H "Connection: close" \ - -A "InternetRecovery/1.0" https://osrecovery.apple.com/ 2>&1 | tr ';' '\n' | awk -F'session=|;' '{print $2}' | grep 1) - info=$(curl -s -X POST -H "Host: osrecovery.apple.com" \ - -H "Connection: close" \ - -A "InternetRecovery/1.0" \ - -b "session=\"${appleSession}\"" \ - -H "Content-Type: text/plain" \ - -d $'cid='"$(generate_id 16)"$'\nsn='${MLB}$'\nbid='${BOARD_ID}$'\nk='"$(generate_id 64)"$'\nfg='"$(generate_id 64)"$'\nos='${OS_TYPE} \ - https://osrecovery.apple.com/InstallationPayload/RecoveryImage | tr ' ' '\n') - downloadLink=$(echo "$info" | grep 'oscdn' | grep 'dmg') - downloadSession=$(echo "$info" | grep 'expires' | grep 'dmg') - chunkListLink=$(echo "$info" | grep 'oscdn' | grep 'chunklist') - chunkListSession=$(echo "$info" | grep 'expires' | grep 'chunklist') - - if [ "${OPERATION}" == "show" ]; then - test_result "${OS}" "${RELEASE}" "" "${downloadLink}" - exit 0 - elif [ "${OPERATION}" == "test" ]; then - CHECK=$(web_check "${downloadLink}" --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${downloadSession}" && echo "PASS" || echo "FAIL") - test_result "${OS}" "${RELEASE}" "" "${downloadLink}" "${CHECK}" +function make_vm_config() { + local CONF_FILE="" + local IMAGE_FILE="" + local ISO_FILE="" + local IMAGE_TYPE="" + local GUEST="" + if [ "${OPERATION}" == "download" ]; then exit 0 - elif [ "${OPERATION}" == "download" ]; then - echo "Downloading macOS (${RELEASE^}) RecoveryImage" - echo " - URL: ${downloadLink}" - web_get "${downloadLink}" "${VM_PATH}" RecoveryImage.dmg --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${downloadSession}" - web_get "${chunkListLink}" "${VM_PATH}" RecoveryImage.chunklist --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${chunkListSession}" - VM_PATH="$(pwd)" - else - if [ ! -e "${VM_PATH}/RecoveryImage.chunklist" ]; then - echo "Downloading macOS (${RELEASE^}) RecoveryImage" - echo " - URL: ${downloadLink}" - web_get "${downloadLink}" "${VM_PATH}" RecoveryImage.dmg --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${downloadSession}" - web_get "${chunkListLink}" "${VM_PATH}" RecoveryImage.chunklist --header "Host: oscdn.apple.com" --header "Connection: close" --header "User-Agent: InternetRecovery/1.0" --header "Cookie: AssetToken=${chunkListSession}" - if ! "${CHUNKCHECK}" "${VM_PATH}" 2> /dev/null; then - echo " - WARNING! Verification failed, continuing anyway" - else - echo " - Verification passed" - fi - - if [ -e "${VM_PATH}/RecoveryImage.dmg" ] && [ ! -e "${VM_PATH}/RecoveryImage.img" ]; then - echo " - Converting RecoveryImage.dmg" - ${QEMU_IMG} convert "${VM_PATH}/RecoveryImage.dmg" -O raw "${VM_PATH}/RecoveryImage.img" 2>/dev/null - fi - rm "${VM_PATH}/RecoveryImage.dmg" "${VM_PATH}/RecoveryImage.chunklist" - echo " - RecoveryImage.img is ready." - fi - echo "Downloading OpenCore & UEFI firmware" - web_get "https://github.com/kholia/OSX-KVM/raw/master/OpenCore/OpenCore.qcow2" "${VM_PATH}" - web_get "https://github.com/kholia/OSX-KVM/raw/master/OVMF_CODE.fd" "${VM_PATH}" - if [ ! -e "${VM_PATH}/OVMF_VARS-1920x1080.fd" ]; then - web_get "https://github.com/kholia/OSX-KVM/raw/master/OVMF_VARS-1920x1080.fd" "${VM_PATH}" - fi - fi - make_vm_config RecoveryImage.img -} - -function get_mageia() { - local HASH="" - local ISO="" - ISO=$(web_pipe https://www.mageia.org/en/downloads/get/?q="Mageia-${RELEASE}-Live-${EDITION}-x86_64.iso" | grep 'click here'| grep -o 'href=.*\.iso'|cut -d\" -f2) - HASH=$(web_pipe "${ISO}.sha512" | cut -d' ' -f1) - echo "${ISO} ${HASH}" -} - -function get_manjaro() { - local HASH="" - local ISO="" - local MANIFEST="" - local URL="" - local TYPE="official" - MANIFEST="$(web_pipe https://gitlab.manjaro.org/web/iso-info/-/raw/master/file-info.json)" - case "${RELEASE}" in - sway) - MANIFEST="$(web_pipe https://mirror.manjaro-sway.download/manjaro-sway/release.json)" - TYPE="sway" - ;; - cinnamon|i3) TYPE="community";; - esac - - if [ "${EDITION}" == "minimal" ] && [ "${TYPE}" != "sway" ]; then - EDITION=".minimal" - else - EDITION="" - fi - - if [ "${RELEASE}" == "sway" ]; then - URL=$(echo "${MANIFEST}" | jq -r '.[] | select(.name|test("^manjaro-sway-.*[.]iso$")) | .url') - else - URL="$(echo "${MANIFEST}" | jq -r ."${TYPE}.${RELEASE}${EDITION}".image)" - fi - HASH=$(web_pipe "${URL}.sha512" | cut -d' ' -f1) - echo "${URL} ${HASH}" -} - -function get_mxlinux() { - local HASH="" - local ISO="" - local URL="https://sourceforge.net/projects/mx-linux/files/Final/${EDITION}" - case ${EDITION} in - Xfce) ISO="MX-${RELEASE}_x64.iso";; - KDE) ISO="MX-${RELEASE}_KDE_x64.iso";; - Fluxbox) ISO="MX-${RELEASE}_fluxbox_x64.iso";; - esac - HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_netboot() { - local HASH="" - local ISO="netboot.xyz.iso" - local URL="https://boot.netboot.xyz/ipxe" - HASH=$(web_pipe "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_netbsd() { - local HASH="" - local ISO="NetBSD-${RELEASE}-amd64.iso" - local URL="https://cdn.netbsd.org/pub/NetBSD/NetBSD-${RELEASE}/images" - HASH=$(web_pipe "${URL}/MD5" | grep "${ISO}" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_nitrux() { - local HASH="" - local URLBASE="" - local URL="" - local ISO="" - URLBASE="https://sourceforge.net/projects/nitruxos/files/Release" - URL="${URLBASE}/ISO" - ISO=$(web_pipe 'https://sourceforge.net/projects/nitruxos/rss?path=/Release/ISO' | grep '.iso' | head -n 1 | cut -d']' -f1 | cut -d '/' -f4) - HASH=$(web_pipe "${URLBASE}/MD5/${ISONAME}.md5sum" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_nixos() { - local HASH="" - # Adapt the plasma edition according to the NixOS release - case "${EDITION}" in - plasma) - if [ "${RELEASE}" == "23.11" ]; then - EDITION+="5" - else - EDITION+="6" - fi - ;; - esac - local ISO="latest-nixos-${EDITION}-x86_64-linux.iso" - local URL="https://channels.nixos.org/nixos-${RELEASE}" - HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_nwg-shell() { - local HASH="" - local ISO="nwg-live-${RELEASE}-x86_64.iso" - local URL="https://sourceforge.net/projects/nwg-iso/files" - HASH="$(web_pipe "https://sourceforge.net/projects/nwg-iso/rss?path=/" | grep "${ISO}" | cut -d'>' -f3 | cut -d'<' -f1 | tail -n 1)" - echo "${URL}/${ISO} ${HASH}" -} - -function get_openbsd() { - local HASH="" - local ISO="install${RELEASE//\./}.iso" - local URL="https://mirror.leaseweb.com/pub/OpenBSD/${RELEASE}/amd64" - HASH=$(web_pipe "${URL}/SHA256" | grep "${ISO}" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_openindiana() { - local HASH="" - local ISO="" - local URL="" - URL="https://dlc.openindiana.org/isos/hipster/${RELEASE}" - ISO="OI-hipster-${EDITION}-${RELEASE}.iso" - HASH=$(web_pipe "${URL}/${ISO}.sha256" |cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_opensuse() { - local HASH="" - local ISO="" - local URL="" - if [ "${RELEASE}" == "tumbleweed" ]; then - ISO="openSUSE-Tumbleweed-DVD-x86_64-Current.iso" - URL="https://download.opensuse.org/tumbleweed/iso" - elif [ "${RELEASE}" == "microos" ]; then - ISO="openSUSE-MicroOS-DVD-x86_64-Current.iso" - URL="https://download.opensuse.org/tumbleweed/iso" - elif [ "${RELEASE}" == "aeon" ]; then - ISO="opensuse-aeon.x86_64.iso" - URL="https://mirrorcache.opensuse.org/tumbleweed/appliances/iso" - elif [ "${RELEASE}" == 15.0 ] || [ "${RELEASE}" == 15.1 ]; then - ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64.iso" - URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso" - else - ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64-Current.iso" - URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso" - fi - HASH=$(web_pipe "${URL}/${ISO}.sha256" | awk '{if(NR==4) print $0}' | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_oraclelinux() { - local HASH="" - local ISO="" - local VER_MAJ=${RELEASE::1} - local VER_MIN=${RELEASE:2:1} - local URL="https://yum.oracle.com/ISOS/OracleLinux/OL${VER_MAJ}/u${VER_MIN}/x86_64" - case ${VER_MAJ} in - 7) ISO="OracleLinux-R${VER_MAJ}-U${VER_MIN}-Server-x86_64-dvd.iso";; - *) ISO="OracleLinux-R${VER_MAJ}-U${VER_MIN}-x86_64-dvd.iso";; - esac - HASH=$(web_pipe "https://linux.oracle.com/security/gpg/checksum/OracleLinux-R${VER_MAJ}-U${VER_MIN}-Server-x86_64.checksum" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_parrotsec() { - local HASH="" - local ISO="" - local URL="" - ISO="Parrot-${EDITION}-${RELEASE}_amd64.iso" - URL="https://download.parrot.sh/parrot/iso/${RELEASE}" - HASH="$(web_pipe "${URL}/signed-hashes.txt" | grep "${ISO}" | cut -d' ' -f1)" - echo "${URL}/${ISO} ${HASH}" -} - -function get_peppermint() { - local HASH="" - local ISO="" - local URL="https://sourceforge.net/projects/peppermintos/files/isos" - case ${EDITION} in - devuan-xfce) - ISO="PeppermintOS-devuan_64_xfce.iso" - URL="${URL}/XFCE";; - debian-xfce) - ISO="PeppermintOS-Debian-64.iso" - URL="${URL}/XFCE";; - devuan-gnome) - ISO="PeppermintOS-devuan_64_gfb.iso" - URL="${URL}/Gnome_FlashBack";; - debian-gnome) - ISO="PeppermintOS-Debian_64_gfb.iso" - URL="${URL}/Gnome_FlashBack";; - esac - HASH=$(web_pipe "${URL}/${ISO}-sha512.checksum" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_popos() { - local HASH="" - local ISO="" - local URL="" - URL=$(web_pipe "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .url) - HASH=$(web_pipe "https://api.pop-os.org/builds/${RELEASE}/${EDITION}" | jq -r .sha_sum) - echo "${URL} ${HASH}" -} - -function get_porteus() { - local HASH="" - local ISO="" - local URL="" - edition="${EDITION~~}" - ISO="Porteus-${edition}-v${RELEASE}-x86_64.iso" - URL="https://mirrors.dotsrc.org/porteus/x86_64/Porteus-v${RELEASE}" - HASH=$(web_pipe "${URL}/sha256sums.txt" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_primtux() { - local HASH="" - local URL="" - local ISO="" - ISO="PrimTux${RELEASE}-amd64-${EDITION}.iso" - URL="https://sourceforge.net/projects/primtux/files/Distribution" - HASH=$(web_pipe "${URL}/${ISO}.md5" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_proxmox-ve() { - local HASH="" - local ISO="" - local URL="" - ISO="proxmox-ve_${RELEASE}.iso" - URL="https://enterprise.proxmox.com/iso" - HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" - -} - -function get_pureos() { - local HASH="" - local ISO="" - local URL="" - local PureName= - PureName="$(web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '/' -f 4)" - local PureDate= - PureDate="$(web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '/' -f 6)" - local PureDateSquashed="${PureDate//'-'/}" - edition="${EDITION,,}" - URL="https://downloads.puri.sm/${PureName}/${edition}/${PureDate}" - ISO="pureos-${RELEASE}-${edition}-live-${PureDateSquashed}_amd64.iso" - local IsoTrimmed= - IsoTrimmed="${ISO%.*}" - HASH="$(web_pipe "${URL}/${IsoTrimmed}.checksums_sha256.txt" | grep -m 1 '.iso' | cut -d '.' -f 1)" - echo "${URL}/${ISO} ${HASH}" -} - -function get_reactos() { - local HASH="" - local URL="" - URL="$(web_redirect "https://sourceforge.net/projects/reactos/files/latest/download")" - echo "${URL} ${HASH}" -} - -function get_rebornos() { - local HASH="" - local ISO="" - ISO=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".url") - HASH=$(web_pipe "https://meta.cdn.soulharsh007.dev/RebornOS-ISO?format=json" | jq -r ".md5") - echo "${ISO} ${HASH}" -} - -function get_rockylinux() { - if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]]; then - EDITION="dvd1" - fi - local HASH="" - local ISO="Rocky-${RELEASE}-x86_64-${EDITION}.iso" - local URL="" - URL="https://dl.rockylinux.org/vault/rocky/${RELEASE}/isos/x86_64" - HASH=$(web_pipe "${URL}/CHECKSUM" | grep "SHA256" | grep "${ISO})" | cut -d' ' -f4) - echo "${URL}/${ISO} ${HASH}" -} - -function get_siduction() { - local HASH="" - local DATE="" - local ISO="" - local NAME="" - local URL="" - NAME=$(web_pipe "https://mirror.math.princeton.edu/pub/siduction/iso/" | grep folder | cut -d'"' -f8 | tr -d '/') - URL="https://mirrors.dotsrc.org/siduction/iso/${NAME}/${EDITION}" - DATE=$(web_pipe "${URL}"| grep .iso.md5 | cut -d'-' -f6 | cut -d'.' -f1) - HASH=$(web_pipe "${URL}/${ISO}.md5" | cut -d' ' -f1) - VERSION=$(web_pipe "${URL}"| grep .iso.md5 | cut -d'-' -f2) - ISO="siduction-${VERSION}-${NAME}-${EDITION}-amd64-${DATE}.iso" - echo "${URL}/${ISO} ${HASH}" -} - -function get_slackware() { - local HASH="" - local ISO="slackware64-${RELEASE}-install-dvd.iso" - local URL="https://slackware.nl/slackware/slackware-iso/slackware64-${RELEASE}-iso" - HASH=$(web_pipe "${URL}/${ISO}.md5" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_slax() { - local HASH="" - local ISO="" - local URL="" - case ${EDITION} in - debian) - URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-12.x" - ISO=$(web_pipe "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1);; - slackware) - URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-15.x" - ISO=$(web_pipe "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1);; - esac - HASH=$(web_pipe "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_slint() { - local HASH="" - local MAJ_VER="" - local ISO="slint64-${RELEASE}.iso" - MAJ_VER="$(echo "${RELEASE}" | cut -d'-' -f 1)" - local URL="https://slackware.uk/slint/x86_64/slint-${MAJ_VER}/iso" - HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut -d' ' -f4) - echo "${URL}/${ISO}" "${HASH}" -} - -function get_slitaz() { - local HASH="" - local ISO="slitaz-rolling-${RELEASE}" - local URL="http://mirror.slitaz.org/iso/rolling" - HASH=$(web_pipe "${URL}/${ISO}.md5" | cut -d' ' -f1) - echo "${URL}/${ISO}.iso ${HASH}" -} - -function get_solus() { - local HASH="" - local ISO="Solus-${EDITION}-Release-${RELEASE}.iso" - local URL="https://downloads.getsol.us/isos/${RELEASE}" - HASH=$(web_pipe "${URL}/${ISO}.sha256sum" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_sparkylinux() { - local HASH="" - local ISO="" - local URL="" - ISO="sparkylinux-${RELEASE}-x86_64-${EDITION}.iso" - case ${EDITION} in - minimalcli) URL="https://sourceforge.net/projects/sparkylinux/files/cli";; - minimalgui) URL="https://sourceforge.net/projects/sparkylinux/files/base";; - *) URL="https://sourceforge.net/projects/sparkylinux/files/${EDITION}";; - esac - HASH=$(web_pipe "${URL}/${ISO}.allsums.txt" | head -n 2 | grep 'iso' | cut -d' ' -f1) - echo "${URL}/${ISO}" "${HASH}" -} - -function get_spirallinux() { - local HASH="" - local ISO="SpiralLinux_${EDITION}_12.231005_x86-64.iso" - local URL="https://sourceforge.net/projects/spirallinux/files/12.231005" - HASH=$(web_pipe 'https://sourceforge.net/projects/spirallinux/rss?path=/' | grep "${ISO}" | grep 'md5' | cut -d'<' -f3 | cut -d'>' -f2) - echo "${URL}/${ISO}" "${HASH}" -} - -function get_tails() { - local JSON="" - local HASH="" - local URL="" - JSON="$(web_pipe "https://tails.boum.org/install/v2/Tails/amd64/${RELEASE}/latest.json")" - URL=$(echo "${JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].url') - HASH=$(echo "${JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].sha256') - echo "${URL} ${HASH}" -} - -function get_tinycore() { - local ARCH="x86" - local HASH="" - local ISO="${EDITION}-${RELEASE}.0.iso" - case "${EDITION}" in - *Pure*) ARCH+="_64";; - esac - local URL="http://www.tinycorelinux.net/${RELEASE}.x/${ARCH}/release" - HASH=$(web_pipe "${URL}/${ISO}.md5.txt" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_trisquel() { - local HASH="" - local ISO="" - local URL="https://mirrors.ocf.berkeley.edu/trisquel-images" - case ${EDITION} in - mate) ISO="trisquel_${RELEASE}_amd64.iso";; - lxde) ISO="trisquel-mini_${RELEASE}_amd64.iso";; - kde) ISO="triskel_${RELEASE}_amd64.iso";; - sugar) ISO="trisquel-sugar_${RELEASE}_amd64.iso";; - esac - HASH=$(web_pipe "${URL}/${ISO}.sha1" | grep "${ISO}" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} - -function get_truenas-scale() { - local HASH="" - local ISO="" - local URL="" - local DLINFO="https://www.truenas.com/download-truenas-scale/" - URL=$(web_pipe "${DLINFO}" | grep -o "\"https://.*${RELEASE}.*\.iso\"" | cut -d'"' -f 2) - HASH=$(web_pipe "${URL}.sha256" | cut -d' ' -f1) - echo "${URL} ${HASH}" -} - -function get_truenas-core() { - local ISO="" - local URL="" - local DLINFO="https://www.truenas.com/download-truenas-core/" - URL=$(web_pipe "${DLINFO}" | grep -o "\"https://.*${RELEASE}.*\.iso\"" | cut -d'"' -f 2) - HASH=$(web_pipe "${URL}".sha256 | cut -d' ' -f1) - echo "${URL} ${HASH}" -} - -function get_tuxedo-os() { - local HASH="" - local ISO="" - local URL="https://os.tuxedocomputers.com" - ISO="$(web_pipe "https://os.tuxedocomputers.com/" | grep -m 1 current.iso | cut -d '=' -f 4 | cut -d '"' -f 2)" - HASH="$(web_pipe "https://os.tuxedocomputers.com/checksums/${ISO}.sha256" | cut -d ' ' -f 1)" - echo "${URL}/${ISO} ${HASH}" -} - -function get_ubuntu-server() { - local HASH="" - local ISO="" - local NAME="live-server" - local URL="" - - if [[ "${RELEASE}" == "daily"* ]]; then - URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current" - else - URL="https://releases.ubuntu.com/${RELEASE}" - fi - - case "${RELEASE}" in - 14*|16*) NAME="server";; - esac - - if web_check "${URL}/SHA256SUMS"; then - DATA=$(web_pipe "${URL}/SHA256SUMS" | grep "${NAME}" | grep amd64 | grep iso) - ISO=$(cut -d'*' -f2 <<<"${DATA}") - HASH=$(cut -d' ' -f1 <<<"${DATA}") - else - DATA=$(web_pipe "${URL}/MD5SUMS" | grep "${NAME}" | grep amd64 | grep iso) - ISO=$(cut -d' ' -f3 <<<"${DATA}") - HASH=$(cut -d' ' -f1 <<<"${DATA}") - fi - if [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then - zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-devel.iso" - make_vm_config "${OS}-devel.iso" - else - web_get "${URL}/${ISO}" "${VM_PATH}" - check_hash "${ISO}" "${HASH}" - make_vm_config "${ISO}" - fi -} - -function get_ubuntu() { - local ISO="" - local HASH="" - local URL="" - local DATA="" - - if [[ "${RELEASE}" == "daily"* ]] && [ "${OS}" == "ubuntustudio" ]; then - # Ubuntu Studio daily-live images are in the dvd directory - RELEASE="dvd" - fi - if [[ "${RELEASE}" == "jammy-daily" ]]; then - if [[ "${OS}" == "ubuntustudio" ]]; then - URL="https://cdimage.ubuntu.com/${OS}/jammy/dvd/current" - else - URL="https://cdimage.ubuntu.com/${OS}/jammy/daily-live/current" - fi - VM_PATH="${OS}-jammy-live" - elif [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then - URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current" - VM_PATH="${OS}-${RELEASE}" - elif [ "${OS}" == "ubuntu" ]; then - URL="https://releases.ubuntu.com/${RELEASE}" - else - URL="https://cdimage.ubuntu.com/${OS}/releases/${RELEASE}/release" - fi - if web_check "${URL}/SHA256SUMS"; then - DATA=$(web_pipe "${URL}/SHA256SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac") - ISO=$(cut -d'*' -f2 <<<"${DATA}" | sed '1q;d') - HASH=$(cut -d' ' -f1 <<<"${DATA}" | sed '1q;d') - else - DATA=$(web_pipe "${URL}/MD5SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac") - ISO=$(cut -d'*' -f2 <<<"${DATA}") - HASH=$(cut -d' ' -f1 <<<"${DATA}") - fi - if [ -z "${ISO}" ] || [ -z "${HASH}" ]; then - echo "$(pretty_name "${OS}") ${RELEASE} is currently unavailable. Please select other OS/Release combination" - exit 1 - fi - if [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then - zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-devel.iso" - make_vm_config "${OS}-devel.iso" - elif [[ "${RELEASE}" == "jammy-daily" ]]; then - zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-jammy-live.iso" - make_vm_config "${OS}-jammy-live.iso" - else - web_get "${URL}/${ISO}" "${VM_PATH}" - check_hash "${ISO}" "${HASH}" - make_vm_config "${ISO}" fi -} - -function get_vanillaos() { - local HASH="" - local HASH_URL="" - local ISO="" - ISO=$(web_pipe "https://api.github.com/repos/Vanilla-OS/live-iso/releases" | grep 'download_url' | grep "${RELEASE}" | head -n 1 | cut -d'"' -f4) - HASH_URL="${ISO//.iso/.sha256.txt}" - HASH=$(web_pipe "${HASH_URL}" | cut -d' ' -f1) - echo "${ISO} ${HASH}" -} - -function get_void() { - local DATE="" - local HASH="" - local ISO="" - local URL="https://repo-default.voidlinux.org/live" - case ${EDITION} in - glibc) ISO="void-live-x86_64-${RELEASE}-base.iso";; - musl) ISO="void-live-x86_64-musl-${RELEASE}-base.iso";; - xfce-glibc) ISO="void-live-x86_64-${RELEASE}-xfce.iso";; - xfce-musl) ISO="void-live-x86_64-musl-${RELEASE}-xfce.iso";; + IMAGE_FILE="${1}" + ISO_FILE="${2}" + case "${OS}" in + batocera) + GUEST="batocera" + IMAGE_TYPE="img";; + custom) + GUEST="${CUSTOM_OS}" + IMAGE_TYPE="${CUSTOM_IMAGE_TYPE}";; + dragonflybsd) + GUEST="dragonflybsd" + IMAGE_TYPE="iso";; + easyos) + GUEST="linux" + IMAGE_TYPE="img";; + freebsd|ghostbsd) + GUEST="freebsd" + IMAGE_TYPE="iso";; + haiku) + GUEST="haiku" + IMAGE_TYPE="iso";; + freedos) + GUEST="freedos" + IMAGE_TYPE="iso";; + kolibrios) + GUEST="kolibrios" + IMAGE_TYPE="iso";; + macos) + GUEST="macos" + IMAGE_TYPE="img";; + netbsd) + GUEST="netbsd" + IMAGE_TYPE="iso";; + openbsd) + GUEST="openbsd" + IMAGE_TYPE="iso";; + openindiana) + GUEST="solaris" + IMAGE_TYPE="iso";; + reactos) + GUEST="reactos" + IMAGE_TYPE="iso";; + truenas*) + GUEST="truenas" + IMAGE_TYPE="iso";; + ubuntu*) + GUEST="linux" + IMAGE_TYPE="iso" + # If there is a point in the release, check if it is less than 16.04 + if [[ "${RELEASE}" != *"daily"* ]]; then + if [ "${RELEASE//./}" -lt 1604 ]; then + GUEST="linux_old" + fi + fi + ;; + windows) + GUEST="windows" + IMAGE_TYPE="iso";; + windows-server) + GUEST="windows-server" + IMAGE_TYPE="iso";; + *) + GUEST="linux" + IMAGE_TYPE="iso";; esac - HASH="$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f4)" - echo "${URL}/${RELEASE}/${ISO} ${HASH}" -} - -function get_vxlinux() { - local HASH="" - local ISO="vx-${RELEASE}.iso" - local URL="https://github.com/VX-Linux/main/releases/download/${RELEASE}" - HASH=$(web_pipe "${URL}/vx-${RELEASE}.md5" | cut -d' ' -f1) - echo "${URL}/${ISO} ${HASH}" -} -function get_zorin() { - local HASH="" - local ISO="" - local URL="" - # Process the URL redirections; required for Zorin - URL=$(web_redirect "https://zrn.co/${RELEASE}${EDITION}") - echo "${URL} ${HASH}" -} + CONF_FILE="${VM_PATH}.conf" -function unattended_windows() { - mkdir -p "${1}/unattended" 2>/dev/null - - cat << 'EOF' > "${1}/unattended/autounattend.xml" -<?xml version="1.0" encoding="utf-8"?> -<unattend xmlns="urn:schemas-microsoft-com:unattend" - xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <!-- - For documentation on components: - https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/ - --> - <settings pass="offlineServicing"> - <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <EnableLUA>false</EnableLUA> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <ComputerName>*</ComputerName> - </component> - </settings> - - <settings pass="generalize"> - <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> - <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> - </component> - <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <SkipRearm>1</SkipRearm> - </component> - </settings> - - <settings pass="specialize"> - <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <SkipAutoActivation>true</SkipAutoActivation> - </component> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <ComputerName>*</ComputerName> - <OEMInformation> - <Manufacturer>Quickemu Project</Manufacturer> - <Model>Quickemu</Model> - <SupportHours>24/7</SupportHours> - <SupportPhone></SupportPhone> - <SupportProvider>Quickemu Project</SupportProvider> - <SupportURL>https://github.com/quickemu-project/quickemu/issues</SupportURL> - </OEMInformation> - <OEMName>Quickemu Project</OEMName> - <ProductKey>W269N-WFGWX-YVC9B-4J6C9-T83GX</ProductKey> - </component> - <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <CEIPEnabled>0</CEIPEnabled> - </component> - </settings> - - <settings pass="windowsPE"> - <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <Diagnostics> - <OptIn>false</OptIn> - </Diagnostics> - <DiskConfiguration> - <Disk wcm:action="add"> - <DiskID>0</DiskID> - <WillWipeDisk>true</WillWipeDisk> - <CreatePartitions> - <!-- Windows RE Tools partition --> - <CreatePartition wcm:action="add"> - <Order>1</Order> - <Type>Primary</Type> - <Size>256</Size> - </CreatePartition> - <!-- System partition (ESP) --> - <CreatePartition wcm:action="add"> - <Order>2</Order> - <Type>EFI</Type> - <Size>128</Size> - </CreatePartition> - <!-- Microsoft reserved partition (MSR) --> - <CreatePartition wcm:action="add"> - <Order>3</Order> - <Type>MSR</Type> - <Size>128</Size> - </CreatePartition> - <!-- Windows partition --> - <CreatePartition wcm:action="add"> - <Order>4</Order> - <Type>Primary</Type> - <Extend>true</Extend> - </CreatePartition> - </CreatePartitions> - <ModifyPartitions> - <!-- Windows RE Tools partition --> - <ModifyPartition wcm:action="add"> - <Order>1</Order> - <PartitionID>1</PartitionID> - <Label>WINRE</Label> - <Format>NTFS</Format> - <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID> - </ModifyPartition> - <!-- System partition (ESP) --> - <ModifyPartition wcm:action="add"> - <Order>2</Order> - <PartitionID>2</PartitionID> - <Label>System</Label> - <Format>FAT32</Format> - </ModifyPartition> - <!-- MSR partition does not need to be modified --> - <ModifyPartition wcm:action="add"> - <Order>3</Order> - <PartitionID>3</PartitionID> - </ModifyPartition> - <!-- Windows partition --> - <ModifyPartition wcm:action="add"> - <Order>4</Order> - <PartitionID>4</PartitionID> - <Label>Windows</Label> - <Letter>C</Letter> - <Format>NTFS</Format> - </ModifyPartition> - </ModifyPartitions> - </Disk> - </DiskConfiguration> - <DynamicUpdate> - <Enable>true</Enable> - <WillShowUI>Never</WillShowUI> - </DynamicUpdate> - <ImageInstall> - <OSImage> - <InstallTo> - <DiskID>0</DiskID> - <PartitionID>4</PartitionID> - </InstallTo> - <InstallToAvailablePartition>false</InstallToAvailablePartition> - </OSImage> - </ImageInstall> - <RunSynchronous> - <RunSynchronousCommand wcm:action="add"> - <Order>1</Order> - <Path>reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t REG_DWORD /d 0x00000001 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>2</Order> - <Path>reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 0x00000001 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>3</Order> - <Path>reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 0x00000001 /f</Path> - </RunSynchronousCommand> - <RunSynchronousCommand wcm:action="add"> - <Order>4</Order> - <Path>reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 0x00000001 /f</Path> - </RunSynchronousCommand> - </RunSynchronous> - <UpgradeData> - <Upgrade>false</Upgrade> - <WillShowUI>Never</WillShowUI> - </UpgradeData> - <UserData> - <AcceptEula>true</AcceptEula> - <FullName>Quickemu</FullName> - <Organization>Quickemu Project</Organization> - <!-- https://docs.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys --> - <ProductKey> - <Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</Key> - <WillShowUI>Never</WillShowUI> - </ProductKey> - </UserData> - </component> - - <component name="Microsoft-Windows-PnpCustomizationsWinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <!-- - This makes the VirtIO drivers available to Windows, assuming that - the VirtIO driver disk is available as drive E: - https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md - --> - <DriverPaths> - <PathAndCredentials wcm:action="add" wcm:keyValue="1"> - <Path>E:\qemufwcfg\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="2"> - <Path>E:\vioinput\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="3"> - <Path>E:\vioscsi\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="4"> - <Path>E:\viostor\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="5"> - <Path>E:\vioserial\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="6"> - <Path>E:\qxldod\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="7"> - <Path>E:\amd64\w10</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="8"> - <Path>E:\viogpudo\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="9"> - <Path>E:\viorng\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="10"> - <Path>E:\NetKVM\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="11"> - <Path>E:\viofs\w10\amd64</Path> - </PathAndCredentials> - <PathAndCredentials wcm:action="add" wcm:keyValue="12"> - <Path>E:\Balloon\w10\amd64</Path> - </PathAndCredentials> - </DriverPaths> - </component> - </settings> - - <settings pass="oobeSystem"> - <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <AutoLogon> - <Password> - <Value>quickemu</Value> - <PlainText>true</PlainText> - </Password> - <Enabled>true</Enabled> - <Username>Quickemu</Username> - </AutoLogon> - <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> - <OOBE> - <HideEULAPage>true</HideEULAPage> - <HideLocalAccountScreen>true</HideLocalAccountScreen> - <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> - <HideOnlineAccountScreens>true</HideOnlineAccountScreens> - <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> - <NetworkLocation>Home</NetworkLocation> - <ProtectYourPC>3</ProtectYourPC> - <SkipUserOOBE>true</SkipUserOOBE> - <SkipMachineOOBE>true</SkipMachineOOBE> - <VMModeOptimizations> - <SkipWinREInitialization>true</SkipWinREInitialization> - </VMModeOptimizations> - </OOBE> - <UserAccounts> - <LocalAccounts> - <LocalAccount wcm:action="add"> - <Password> - <Value>quickemu</Value> - <PlainText>true</PlainText> - </Password> - <Description>Quickemu</Description> - <DisplayName>Quickemu</DisplayName> - <Group>Administrators</Group> - <Name>Quickemu</Name> - </LocalAccount> - </LocalAccounts> - </UserAccounts> - <RegisteredOrganization>Quickemu Project</RegisteredOrganization> - <RegisteredOwner>Quickemu</RegisteredOwner> - <FirstLogonCommands> - <SynchronousCommand wcm:action="add"> - <CommandLine>msiexec /i E:\guest-agent\qemu-ga-x86_64.msi /quiet /passive /qn</CommandLine> - <Description>Install Virtio Guest Agent</Description> - <Order>1</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>msiexec /i F:\spice-webdavd-x64-latest.msi /quiet /passive /qn</CommandLine> - <Description>Install spice-webdavd file sharing agent</Description> - <Order>2</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>msiexec /i F:\UsbDk_1.0.22_x64.msi /quiet /passive /qn</CommandLine> - <Description>Install usbdk USB sharing agent</Description> - <Order>3</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>msiexec /i F:\spice-vdagent-x64-0.10.0.msi /quiet /passive /qn</CommandLine> - <Description>Install spice-vdagent SPICE agent</Description> - <Order>4</Order> - </SynchronousCommand> - <SynchronousCommand wcm:action="add"> - <CommandLine>Cmd /c POWERCFG -H OFF</CommandLine> - <Description>Disable Hibernation</Description> - <Order>5</Order> - </SynchronousCommand> - </FirstLogonCommands> - </component> - </settings> -</unattend> + if [ ! -e "${CONF_FILE}" ]; then + echo $"Making ${CONF_FILE}" + cat << EOF > "${CONF_FILE}" +#!${QUICKEMU} --vm +guest_os="${GUEST}" +disk_img="${VM_PATH}/disk.qcow2" +${IMAGE_TYPE}="${VM_PATH}/${IMAGE_FILE}" EOF + echo $" - Setting ${CONF_FILE} executable" + chmod u+x "${CONF_FILE}" + if [ -n "${ISO_FILE}" ]; then + echo "fixed_iso=\"${VM_PATH}/${ISO_FILE}\"" >> "${CONF_FILE}" + fi - -echo "Downloading Spice drivers..." -web_get https://www.spice-space.org/download/windows/spice-webdavd/spice-webdavd-x64-latest.msi "${VM_PATH}/unattended" -web_get https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.10.0/spice-vdagent-x64-0.10.0.msi "${VM_PATH}/unattended" -web_get https://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.22_x64.msi "${VM_PATH}/unattended" - -echo "Making unattended.iso" -mkisofs -quiet -l -o "${VM_PATH}/unattended.iso" "${VM_PATH}/unattended/" -} - -function handle_curl_error() { - local error_code="$1" - local fatal_error_action=2 - case "$error_code" in - 6) - echo "Failed to resolve Microsoft servers! Is there an Internet connection? Exiting..." - return "$fatal_error_action" - ;; - 7) - echo "Failed to contact Microsoft servers! Is there an Internet connection or is the server down?" - ;; - 8) - echo "Microsoft servers returned a malformed HTTP response!" - ;; - 22) - echo "Microsoft servers returned a failing HTTP status code!" - ;; - 23) - echo "Failed at writing Windows media to disk! Out of disk space or permission error? Exiting..." - return "$fatal_error_action" - ;; - 26) - echo "Ran out of memory during download! Exiting..." - return "$fatal_error_action" - ;; - 36) - echo "Failed to continue earlier download!" - ;; - 63) - echo "Microsoft servers returned an unexpectedly large response!" - ;; - # POSIX defines exit statuses 1-125 as usable by us - # https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_02 - $((error_code <= 125))) - # Must be some other server or network error (possibly with this specific request/file) - # This is when accounting for all possible errors in the curl manual assuming a correctly formed curl command and an HTTP(S) request, using only the curl features we're using, and a sane build - echo "Miscellaneous server or network error!" - ;; - 126 | 127 ) - echo "Curl command not found! Please install curl and try again. Exiting..." - return "$fatal_error_action" - ;; - # Exit statuses are undefined by POSIX beyond this point - *) - case "$(kill -l "$error_code")" in - # Signals defined to exist by POSIX: - # https://pubs.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html - INT) - echo "Curl was interrupted!" + # OS specific tweaks + case ${OS} in + alma|athenaos|centos-stream|endless|garuda|gentoo|kali|nixos|oraclelinux|popos|rockylinux) + echo "disk_size=\"32G\"" >> "${CONF_FILE}";; + openindiana) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"32G\"" >> "${CONF_FILE}";; + batocera) + echo "disk_size=\"8G\"" >> "${CONF_FILE}";; + bazzite) + echo "disk_size=\"64G\"" >> "${CONF_FILE}";; + dragonflybsd|haiku|openbsd|netbsd|slackware|slax|tails|tinycore) + echo "boot=\"legacy\"" >> "${CONF_FILE}";; + deepin) + echo "disk_size=\"64G\"" >> "${CONF_FILE}" + echo "ram=\"4G\"" >> "${CONF_FILE}" + ;; + freedos) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"4G\"" >> "${CONF_FILE}" + echo "ram=\"256M\"" >> "${CONF_FILE}" ;; - # There could be other signals but these are most common - SEGV | ABRT ) - echo "Curl crashed! Failed exploitation attempt? Please report any core dumps to curl developers. Exiting..." - return "$fatal_error_action" + kolibrios) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"2G\"" >> "${CONF_FILE}" + echo "ram=\"128M\"" >> "${CONF_FILE}" ;; - *) - echo "Curl terminated due to a fatal signal!" + slint) + echo "disk_size=\"50G\"" >> "${CONF_FILE}" ;; - esac - esac - return 1 -} - -function download_windows_server() { - local iso_download_page_html="" - # Copyright (C) 2024 Elliot Killick <contact@elliotkillick.com> - # This function is adapted from the Mido project: - # https://github.com/ElliotKillick/Mido - - # Download enterprise evaluation Windows versions - local windows_version="$1" - local enterprise_type="$2" - local PRETTY_RELEASE="" - - case "${RELEASE}" in - *) PRETTY_RELEASE="${RELEASE}";; - esac - - echo "Downloading $(pretty_name "${OS}") ${PRETTY_RELEASE} (${I18N})" - - local url="https://www.microsoft.com/en-us/evalcenter/download-$windows_version" - - echo " - Parsing download page: ${url}" - iso_download_page_html="$(curl --silent --location --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url")" || { - handle_curl_error $? - return $? - } - - if ! [ "$iso_download_page_html" ]; then - # This should only happen if there's been some change to where this download page is located - echo " - Windows server download page gave us an empty response" - return 1 - fi - - local CULTURE="" - local COUNTRY="" - case "${I18N}" in - "English (Great Britain)") - CULTURE="en-gb" - COUNTRY="GB";; - "Chinese (Simplified)") - CULTURE="zh-cn" - COUNTRY="CN";; - "Chinese (Traditional)") - CULTURE="zh-tw" - COUNTRY="TW";; - "French") - CULTURE="fr-fr" - COUNTRY="FR";; - "German") - CULTURE="de-de" - COUNTRY="DE";; - "Italian") - CULTURE="it-it" - COUNTRY="IT";; - "Japanese") - CULTURE="ja-jp" - COUNTRY="JP";; - "Korean") - CULTURE="ko-kr" - COUNTRY="KR";; - "Portuguese (Brazil)") - CULTURE="pt-br" - COUNTRY="BR";; - "Spanish") - CULTURE="es-es" - COUNTRY="ES";; - "Russian") - CULTURE="ru-ru" - COUNTRY="RU";; - *) - CULTURE="en-us" - COUNTRY="US";; - esac - - echo " - Getting download link.." - iso_download_links="$(echo "$iso_download_page_html" | grep -o "https://go.microsoft.com/fwlink/p/?LinkID=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${CULTURE}&country=${COUNTRY}")" || { - # This should only happen if there's been some change to the download endpoint web address - echo " - Windows server download page gave us no download link" - return 1 - } - - # Limit untrusted size for input validation - iso_download_links="$(echo "$iso_download_links" | head -c 1024)" - - case "$enterprise_type" in - # Select x64 download link - "enterprise") iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;; - # Select x64 LTSC download link - "ltsc") iso_download_link=$(echo "$iso_download_links" | head -n 4 | tail -n 1) ;; - *) iso_download_link="$iso_download_links" ;; - esac - - # Follow redirect so proceeding log message is useful - # This is a request we make this Fido doesn't - # We don't need to set "--max-filesize" here because this is a HEAD request and the output is to /dev/null anyway - iso_download_link="$(curl --silent --location --output /dev/null --silent --write-out "%{url_effective}" --head --fail --proto =https --tlsv1.2 --http1.1 -- "$iso_download_link")" || { - # This should only happen if the Microsoft servers are down - handle_curl_error $? - return $? - } - - # Limit untrusted size for input validation - iso_download_link="$(echo "$iso_download_link" | head -c 1024)" - - echo " - URL: $iso_download_link" - - # Download ISO - FILE_NAME="${iso_download_link##*/}" - web_get "${iso_download_link}" "${VM_PATH}" "${FILE_NAME}" - OS="windows-server" -} - -function download_windows_workstation() { - local HASH="" - local session_id="" - local iso_download_page_html="" - local product_edition_id="" - local language_skuid_table_json="" - local sku_id="" - local iso_download_link_json="" - local iso_download_link="" - - echo "Downloading Windows ${RELEASE} (${I18N})" - # This function is adapted from the Mido project: - # https://github.com/ElliotKillick/Mido - # Download newer consumer Windows versions from behind gated Microsoft API - - # Either 10, or 11 - local windows_version="$1" - - local url="https://www.microsoft.com/en-us/software-download/windows$windows_version" - case "$windows_version" in - 10) url="${url}ISO";; - esac - - local user_agent="Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0" - session_id="$(uuidgen)" - - # Get product edition ID for latest release of given Windows version - # Product edition ID: This specifies both the Windows release (e.g. 22H2) and edition ("multi-edition" is default, either Home/Pro/Edu/etc., we select "Pro" in the answer files) in one number - # This is the *only* request we make that Fido doesn't. Fido manually maintains a list of all the Windows release/edition product edition IDs in its script (see: $WindowsVersions array). This is helpful for downloading older releases (e.g. Windows 10 1909, 21H1, etc.) but we always want to get the newest release which is why we get this value dynamically - # Also, keeping a "$WindowsVersions" array like Fido does would be way too much of a maintenance burden - # Remove "Accept" header that curl sends by default - echo " - Parsing download page: ${url}" - iso_download_page_html="$(curl --silent --user-agent "$user_agent" --header "Accept:" --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url")" || { - handle_curl_error $? - return $? - } - - echo -n " - Getting Product edition ID: " - # tr: Filter for only numerics to prevent HTTP parameter injection - # head -c was recently added to POSIX: https://austingroupbugs.net/view.php?id=407 - product_edition_id="$(echo "$iso_download_page_html" | grep -Eo '<option value="[0-9]+">Windows' | cut -d '"' -f 2 | head -n 1 | tr -cd '0-9' | head -c 16)" - echo "$product_edition_id" - - echo " - Permit Session ID: $session_id" - # Permit Session ID - # "org_id" is always the same value - curl --silent --output /dev/null --user-agent "$user_agent" --header "Accept:" --max-filesize 100K --fail --proto =https --tlsv1.2 --http1.1 -- "https://vlscppe.microsoft.com/tags?org_id=y6jn8c31&session_id=$session_id" || { - # This should only happen if there's been some change to how this API works - handle_curl_error $? - return $? - } - - local profile="606624d44113" - - echo -n " - Getting language SKU ID: " - # Get language -> skuID association table - language_skuid_table_json="$(curl -s --fail --max-filesize 100K --proto =https --tlsv1.2 --http1.1 "https://www.microsoft.com/software-download-connector/api/getskuinformationbyproductedition?profile=${profile}&ProductEditionId=${product_edition_id}&SKU=undefined&friendlyFileName=undefined&Locale=en-US&sessionID=${session_id}")" || { - handle_curl_error $? - return $? - } - - sku_id="$(echo "${language_skuid_table_json}" | jq -r '.Skus[] | select(.LocalizedLanguage=="'"${I18N}"'" or .Language=="'"${I18N}"'").Id')" - echo "$sku_id" - - echo " - Getting ISO download link..." - # Get ISO download link - # If any request is going to be blocked by Microsoft it's always this last one (the previous requests always seem to succeed) - # --referer: Required by Microsoft servers to allow request - iso_download_link_json="$(curl -s --fail --referer "$url" "https://www.microsoft.com/software-download-connector/api/GetProductDownloadLinksBySku?profile=${profile}&productEditionId=undefined&SKU=${sku_id}&friendlyFileName=undefined&Locale=en-US&sessionID=${session_id}")" - - local failed=0 - - if ! [ "$iso_download_link_json" ]; then - # This should only happen if there's been some change to how this API works - echo " - Microsoft servers gave us an empty response to our request for an automated download." - failed=1 - fi - - if echo "$iso_download_link_json" | grep -q "Sentinel marked this request as rejected."; then - echo " - WARNING! Microsoft blocked the automated download request based on your IP address." - failed=1 - fi - - if [ ${failed} -eq 1 ]; then - echo " Manually download the Windows ${windows_version} ISO using a web browser from: ${url}" - echo " Save the downloaded ISO to: $(realpath "${VM_PATH}")" - echo " Update the config file to reference the downloaded ISO: ./${VM_PATH}.conf" - echo " Continuing with the VM creation process..." - return 1 - fi - - # Filter for 64-bit ISO download URL - iso_download_link="$(echo "${iso_download_link_json}" | jq -r '.ProductDownloadOptions[].Uri' | grep x64)" - - if ! [ "$iso_download_link" ]; then - # This should only happen if there's been some change to the download endpoint web address - echo " - Microsoft servers gave us no download link to our request for an automated download. Please manually download this ISO in a web browser: $url" - return 1 - fi - - echo " - URL: ${iso_download_link%%\?*}" + slitaz) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"4G\"" >> "${CONF_FILE}" + echo "ram=\"512M\"" >> "${CONF_FILE}" + ;; + truenas-scale|truenas-core) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + # the rest is non-functional + # echo "bootdrive_size=\"5G\"" >> "${CONF_FILE}" # boot drive + # echo "1stdrive_size=\"20G\"" >> "${CONF_FILE}" # for testing + # echo "2nddrive_size=\"20G\"" >> "${CONF_FILE}" # again, for testing + ;; + ubuntu-server) + # 22.04+ fails on LVM build if disk size is < 10G + # 22.04.1 fails on auto-install if TPM is disabled + echo "disk_size=\"10G\"" >> "${CONF_FILE}" + echo "ram=\"4G\"" >> "${CONF_FILE}" + if [[ "${RELEASE}" == *"22.04"* ]]; then + echo "tpm=\"on\"" >> "${CONF_FILE}" + fi + ;; + vanillaos) + ## Minimum is 50G for abroot, but a 64GB is allocated to give some headroom + echo "disk_size=\"64G\"" >> "${CONF_FILE}" + ;; + zorin) + case ${EDITION} in + education64|edulite64) echo "disk_size=\"32G\"" >> "${CONF_FILE}";; + esac;; + reactos) + echo "boot=\"legacy\"" >> "${CONF_FILE}" + echo "disk_size=\"12G\"" >> "${CONF_FILE}" + echo "ram=\"2048M\"" >> "${CONF_FILE}" + ;; + macos) + echo "disk_size=\"128G\"" >> "${CONF_FILE}" + echo "macos_release=\"${RELEASE}\"" >> "${CONF_FILE}" + # https://github.com/quickemu-project/quickemu/issues/438 + if [ "${RELEASE}" == "monterey" ]; then + echo "cpu_cores=2" >> "${CONF_FILE}" + fi + ;; + proxmox-ve) + echo "disk_size=\"20G\"" >> "${CONF_FILE}" + echo "ram=\"4G\"" >> "${CONF_FILE}" + ;; + esac - # Download ISO - FILE_NAME="$(echo "$iso_download_link" | cut -d'?' -f1 | cut -d'/' -f5)" - web_get "${iso_download_link}" "${VM_PATH}" "${FILE_NAME}" -} + if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"* ]]; then + # Minimum to install lobster testing is 18GB but 32GB are allocated for headroom + echo "disk_size=\"32G\"" >> "${CONF_FILE}" + fi -function get_windows() { - if [ "${OS}" == "windows-server" ]; then - download_windows_server "windows-server-${RELEASE}" - else - download_windows_workstation "${RELEASE}" - fi + if [[ "${OS}" == "windows"* ]]; then + echo "disk_size=\"64G\"" >> "${CONF_FILE}" + fi - if [ "${OPERATION}" == "download" ]; then - exit 0 + # Enable TPM for Windows 11 and Windows Server 2022 + if [[ "${OS}" == "windows" && "${RELEASE}" == "11" || "${OS}" == "windows-server" && "${RELEASE}" == "2022" ]]; then + echo "tpm=\"on\"" >> "${CONF_FILE}" + echo "secureboot=\"off\"" >> "${CONF_FILE}" + fi + if [ "${OPERATION}" == ui ]; then + echo + gum confirm $"Run new ${OS} VM?" && quickemu --vm "${CONF_FILE}" + fi fi - - echo "Downloading VirtIO drivers..." - web_get "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" "${VM_PATH}" - - rm -f "${VM_PATH}/unattended.iso" - case ${RELEASE} in - 10|11) - unattended_windows "${VM_PATH}" - ;; - esac - - if [ -n "${FILE_NAME}" ]; then - make_vm_config "${FILE_NAME}" "virtio-win.iso" + echo -e $"\nTo start your ${PRETTY} virtual machine run:" + if [ "${OS}" == "slint" ]; then + echo -e $" quickemu --vm ${CONF_FILE}\nTo start Slint with braille support run:\n quickemu --vm --braille --display sdl ${CONF_FILE}" else - make_vm_config "windows-${RELEASE}.iso" "virtio-win.iso" + echo " quickemu --vm ${CONF_FILE}" fi + echo + exit 0 } function open_homepage() { - local URL="" + # shellcheck source=actions/alpine + . "actions/${1}" local XDG_OPEN="" - if [ -z "$(os_info "${1}")" ]; then + if [ -z "${PRETTY}" ]; then error_specify_os else - URL="$(os_info "${1}" | cut -d'|' -f 3)" # shellcheck disable=SC2034 - XDG_OPEN=$(xdg-open "${URL}" || sensible-browser "${URL}" || x-www-browser "${URL}" || gnome-open "${URL}") + XDG_OPEN=$(xdg-open "${HOMEPAGE}" || sensible-browser "${HOMEPAGE}" || x-www-browser "${HOMEPAGE}" || gnome-open "${HOMEPAGE}") exit 0 fi } @@ -3322,6 +781,7 @@ function create_vm() { check_hash "${ISO}" "${HASH}" fi + # shellcheck disable=SC2076 case "${OS}" in batocera) if [[ ${ISO} = *".gz"* ]]; then @@ -3349,7 +809,7 @@ function create_vm() { fi;; kolibrios) if [[ ${ISO} = *".7z" ]]; then - if [ -z "$(command -v 7z)" ]; then echo "ERROR! '7zip' needs installing. Unable to extract file." + if [ -z "$(command -v 7z)" ]; then echo $"ERROR! '7zip' needs installing. Unable to extract file." else 7z e "${VM_PATH}/${ISO}" -o"${VM_PATH}" >/dev/null 2>&1 rm -f "${VM_PATH}/${ISO}" @@ -3364,6 +824,23 @@ function create_vm() { ISO="$(ls -1 "${VM_PATH}/"*.iso)" ISO="$(basename "${ISO}")" fi;; + #TODO + redox-os) + if [[ ${ISO} =~ ".zst" ]]; then + zstd -d "${VM_PATH}/${ISO}" + ISO="${ISO/.zst/}" + if [[ ${ISO} =~ ".img" ]]; then + QEMU_IMG=$(command -v qemu-img) + if [ ! -x "${QEMU_IMG}" ]; then + echo $"ERROR! qemu-img not found. Please make sure qemu-img is installed." + exit 1 + fi + qemu-img convert -f raw -O qcow2 "${VM_PATH}/${ISO}" "${VM_PATH}/disk.qcow2" + ISO="${ISO/.img/}" + else + ISO="${ISO/.zst/}" + fi + fi;; esac make_vm_config "${ISO}" } @@ -3375,8 +852,7 @@ function create_config() { OS="custom" if ! mkdir "${VM_PATH}" 2>/dev/null; then - echo "ERROR! Could not create directory: ${VM_PATH}. Please verify that it does not already exist" - exit 1 + echo $"WARNING! This will overwrite content of directory: ${VM_PATH}" fi if [[ "${INPUT}" == "http://"* ]] || [[ "${INPUT}" == "https://"* ]]; then INPUT="$(web_redirect "${INPUT}")" @@ -3384,30 +860,30 @@ function create_config() { web_get "${INPUT}" "${VM_PATH}" INPUT="${INPUT##*/}" else - echo "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" - exit 1 + error_not_supported_image fi fi - + function moving_image() { + echo $"Moving image to VM dir" + } if [ ! -f "${INPUT}" ]; then - echo "ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." - exit 1 + echo $"ERROR! The input must be a valid URL or path to an ISO, IMG, or QCOW2 file." + echo "#TODO exit 1" elif [[ "${INPUT}" == *".iso" ]]; then - echo "Moving image to VM dir" && mv "${INPUT}" "${VM_PATH}" + moving_image && mv "${INPUT}" "${VM_PATH}" CUSTOM_IMAGE_TYPE="iso" elif [[ "${INPUT}" == *".img" ]]; then - echo "Moving image to VM dir" && mv "${INPUT}" "${VM_PATH}" + moving_image && mv "${INPUT}" "${VM_PATH}" CUSTOM_IMAGE_TYPE="img" elif [[ "${INPUT}" == *".qcow2" ]]; then - echo "Moving image to VM dir" && mv "${INPUT}" "${VM_PATH}/disk.qcow2" + moving_image && mv "${INPUT}" "${VM_PATH}/disk.qcow2" CUSTOM_IMAGE_TYPE="qcow2" else - echo "ERROR! Only ISO,IMG and QCOW2 file types are supported for --create-config" - exit 1 + error_not_supported_image fi INPUT="$(basename "${INPUT}")" - echo "Creating custom VM config for ${INPUT##*/}." + echo $"Creating custom VM config for ${INPUT##*/}." case "${INPUT,,}" in *freebsd*) CUSTOM_OS="freebsd";; *kolibrios*) CUSTOM_OS="kolibrios";; @@ -3417,19 +893,18 @@ function create_config() { CUSTOM_OS="windows" # Older windows 10 ISOs use the year followed by the month rather than the year & half). Match any text for language. if [ "${3}" != "--disable-unattended" ] && ( [ "${3}" == "--unattended" ] || grep -E -q 'Win(10|11)_([0-9]{2}H(1|2)|[0-9]{4})_[^.]*?(x64|x32)(v[0-9])?.iso' <<< "${INPUT}" ); then - echo "Creating unattended Windows installation files. To disable, pass --disable-unattended" + echo $"Creating unattended Windows installation files. To disable, pass --disable-unattended" echo - echo "Downloading VirtIO drivers..." + echo $"Downloading VirtIO drivers..." web_get "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" "${VM_PATH}" FIXED_ISO="virtio-win.iso" rm -f "${VM_PATH}/unattended.iso" unattended_windows "${VM_PATH}" fi ;; - *) CUSTOM_OS="linux";; esac - echo -e "Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\n" + echo -e $"Selecting OS: ${CUSTOM_OS}. If this is incorrect, please modify the config file to include the correct OS.\n" make_vm_config "${INPUT}" "${FIXED_ISO}" } @@ -3440,9 +915,101 @@ function resolve_quickemu() { if [ -x "./quickemu" ]; then echo "$(pwd)/quickemu" else - echo "quickemu not found" >&2 + echo $"quickemu not found" >&2 + exit 1 + fi +} + +run_itself() { + if [ -n "${1}" ]; then + OS="${1,,}" + else + error_specify_os + fi + + os_supported + # shellcheck source=actions/alpine + . "actions/${OS}" + + if [ -n "${2}" ]; then + RELEASE="${2}" + VM_PATH="${OS}-${RELEASE}" + # If the OS has an editions_() function, use it. + if [[ $(type -t editions_) == function ]]; then + validate_release releases_ + EDITIONS=$(editions_) + if [ -n "${3}" ]; then + EDITION="${3}" + if [[ ! "${EDITIONS[*]}" = *"${EDITION}"* ]]; then + echo -e $"ERROR! ${EDITION} is not a supported ${PRETTY} edition\n" + echo -n $' - Supported editions: ' + for EDITION in "${EDITIONS[@]}"; do + echo -n "${EDITION} " + done + echo "" + exit 1 + fi + else + show_os_info "${OS}" + echo -e $"\nERROR! You must specify an edition." + exit 1 + fi + handle_missing + VM_PATH="${OS}-${RELEASE}-${EDITION}" + create_vm "$("get_" "${EDITION}")" + elif [ "${OS}" == "macos" ]; then + # macOS doesn't use create_vm() + validate_release releases_ + get_ + elif [[ "${OS}" == *"ubuntu-server"* ]]; then + # (Comes before regular Ubuntu, or the code tries to download the desktop) # + # Ubuntu doesn't use create_vm() + validate_release releases_ + get_ + elif [[ "${OS}" == *"ubuntu"* ]]; then + # Ubuntu doesn't use create_vm() + validate_release releases_ + get_ + elif [[ "${OS}" == "windows"* ]]; then + I18N="English International" + languages_"${OS}" + if [ -n "${3}" ]; then + I18N="${3}" + if [[ ! "${I18NS[*]}" = *"${I18N}"* ]]; then + error_not_supported_lang + fi + VM_PATH="$(echo "${OS}-${RELEASE}-${I18N// /-}" | tr -d '()')" + fi + validate_release releases_ + get_ + else + validate_release releases_ + create_vm "$("get_")" + fi + else + error_specify_release + fi +} + +# shellcheck disable=SC2046 +function run_ui() { + if ! command -v gum &> /dev/null; then + echo $"gum could not be found, please install it first" exit 1 fi + OS=$(gum filter --height=17 --header="Select an OS:" $(os_support)) + #os_info "${OS}" > "$TMPFILE" + # shellcheck source=actions/alpine + . "public/${OS}" + RELEASE=$(gum filter --height=5 --header="Select $OS release:" ${RELEASES}) + if declare -F editions_ > /dev/null; then + EDITION=$(gum filter --height=5 --header="Select $OS $RELEASE edition:" ${EDITIONS}) + echo '' + run_itself "${OS}" "${RELEASE}" "${EDITION}" + else + echo '' + run_itself "${OS}" "${RELEASE}" + fi } function help_message() { @@ -3474,6 +1041,7 @@ Arguments: --show [os] : Show OS information --version : Show version --help : Show this help message + --ui : Run in UI mode ------------------------------------ Flags ------------------------------------- --create-config: --disable-unattended : Force quickget not to set up an unattended installation @@ -3492,7 +1060,7 @@ Supported Operating Systems:\n\n' "$(${QUICKEMU} --version)" "${CURL_VERSION}" trap cleanup EXIT if ((BASH_VERSINFO[0] < 4)); then - echo "Sorry, you need bash 4.0 or newer to run this script." + echo $"Sorry, you need bash 4.0 or newer to run this script." exit 1 fi @@ -3501,19 +1069,18 @@ I18NS=() OPERATION="" CURL=$(command -v curl) if [ ! -x "${CURL}" ]; then - echo "ERROR! curl not found. Please install curl" + echo $"ERROR! curl not found. Please install curl" exit 1 fi CURL_VERSION=$("${CURL}" --version | head -n 1 | cut -d' ' -f2) -QEMU_IMG=$(command -v qemu-img) -if [ ! -x "${QEMU_IMG}" ]; then - echo "ERROR! qemu-img not found. Please make sure qemu-img is installed." - exit 1 -fi - #TODO: Deprecate `list`, `list_csv`, and `list_json` in favor of `--list`, `--list-csv`, and `--list-json` case "${1}" in + --ui) + OPERATION="ui" + shift + run_ui + ;; --download|-download) OPERATION="download" shift @@ -3574,72 +1141,6 @@ case "${1}" in -*) error_not_supported_argument;; esac -if [ -n "${1}" ]; then - OS="${1,,}" -else - error_specify_os -fi - -os_supported - -if [ -n "${2}" ]; then - RELEASE="${2}" - VM_PATH="${OS}-${RELEASE}" - # If the OS has an editions_() function, use it. - if [[ $(type -t "editions_${OS}") == function ]]; then - validate_release "releases_${OS}" - EDITIONS=("$(editions_"${OS}")") - if [ -n "${3}" ]; then - EDITION="${3}" - if [[ ! "${EDITIONS[*]}" = *"${EDITION}"* ]]; then - echo -e "ERROR! ${EDITION} is not a supported $(pretty_name "${OS}") edition\n" - echo -n ' - Supported editions: ' - for EDITION in "${EDITIONS[@]}"; do - echo -n "${EDITION} " - done - echo "" - exit 1 - fi - else - show_os_info "${OS}" - echo -e " - Editions:\t$("editions_${OS}" | fmt -w 80)" - echo -e "\nERROR! You must specify an edition." - exit 1 - fi - handle_missing - VM_PATH="${OS}-${RELEASE}-${EDITION}" - create_vm "$("get_${OS}" "${EDITION}")" - elif [ "${OS}" == "macos" ]; then - # macOS doesn't use create_vm() - validate_release releases_macos - get_macos - elif [[ "${OS}" == *"ubuntu-server"* ]]; then - # (Comes before regular Ubuntu, or the code tries to download the desktop) # - # Ubuntu doesn't use create_vm() - validate_release releases_ubuntu-server - get_ubuntu-server - elif [[ "${OS}" == *"ubuntu"* ]]; then - # Ubuntu doesn't use create_vm() - validate_release releases_ubuntu - get_ubuntu - elif [[ "${OS}" == "windows"* ]]; then - I18N="English International" - "languages_${OS}" - if [ -n "${3}" ]; then - I18N="${3}" - if [[ ! "${I18NS[*]}" = *"${I18N}"* ]]; then - error_not_supported_lang - fi - VM_PATH="$(echo "${OS}-${RELEASE}-${I18N// /-}" | tr -d '()')" - fi - validate_release "releases_${OS}" - get_windows - else - validate_release "releases_${OS}" - create_vm "$("get_${OS}")" - fi -else - error_specify_release -fi +run_itself "$@" # vim:tabstop=4:shiftwidth=4:expandtab