diff --git a/README.md b/README.md index 5227c7b..c12126b 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ comprehensive support for macOS and Windows**. * [Ubuntu](https://ubuntu.com/desktop) and all the **[official Ubuntu flavours](https://ubuntu.com/download/flavours)** * [Fedora](https://getfedora.org/) & openSUSE ([Leap](https://get.opensuse.org/leap/), [Tumbleweed](https://get.opensuse.org/tumbleweed/), [MicroOS](https://microos.opensuse.org/)) * [Linux Mint](https://linuxmint.com/) (Cinnamon, MATE, and XFCE), [elementary OS](https://elementary.io/), [Pop!_OS](https://pop.system76.com/) + * [Regolith Linux](https://regolith-linux.org/) (Release 1.6 and latest 2.0.0 pre-release ) * [Arch Linux](https://www.archlinux.org/), [Kali](https://www.kali.org/), [ZorinOS](https://zorin.com/os/) & [NixOS](https://nixos.org/) * [FreeBSD](https://www.freebsd.org/) & [OpenBSD](https://www.openbsd.org/) * Full SPICE support including host/guest clipboard sharing @@ -177,6 +178,7 @@ preferred flavour. * `linuxmint-xfce` * `opensuse` * `popos` + * `regolith` * `nixos-gnome` * `nixos-plasma5` * `nixos-minimal` diff --git a/quickget b/quickget index c64bb82..92bfd67 100755 --- a/quickget +++ b/quickget @@ -49,6 +49,7 @@ function pretty_name() { openbsd) PRETTY_NAME="OpenBSD";; opensuse) PRETTY_NAME="openSUSE";; popos) PRETTY_NAME="Pop!_OS";; + regolith) PRETTY_NAME="Regolith Linux";; rockylinux) PRETTY_NAME="Rocky Linux";; ubuntu-budgie) PRETTY_NAME="Ubuntu Budgie";; ubuntu-kylin) PRETTY_NAME="Ubuntu Kylin";; @@ -149,6 +150,7 @@ function os_support() { openbsd \ opensuse \ popos \ + regolith \ rockylinux \ solus \ ubuntu \ @@ -237,6 +239,14 @@ function releases_popos() { 21.04 } +function releases_regolith() { + echo 1.6.0_hirsute \ + 1.6.0_focal \ + 2.0.0_impish \ + 2.0.0_hirsute +} + + function releases_rockylinux() { echo 8.4 \ 8.3 \ @@ -636,6 +646,9 @@ function make_vm_config() { elif [ "${OS}" == "popos" ]; then GUEST="linux" IMAGE_TYPE="iso" + elif [ "${OS}" == "regolith" ]; then + GUEST="linux" + IMAGE_TYPE="iso" elif [ "${OS}" == "rockylinux" ]; then GUEST="linux" IMAGE_TYPE="iso" @@ -1044,6 +1057,37 @@ function get_popos() { make_vm_config "${ISO}" } + +function get_regolith() { + local HASH="" + local ISO="" + local URL="" + local GHDL="https://github.com/regolith-linux/regolith-ubuntu-iso-builder/releases/download/" + + validate_release "releases_regolith" + + URL="${GHDL}" + case ${RELEASE} in + 1.6.0_focal) + URL="${URL}release-release-focal-focal_standard-1.6.0" + HASH=$(wget -q -O- "${URL}/SHA256SUMS" | cut -d' ' -f1);; + 1.6.0_hirsute) + URL="${URL}release-release-hirsute-hirsute_standard-1.6.0" + HASH=$(wget -q -O- "${URL}/SHA256SUMS" | cut -d' ' -f1);; + 2.0.0_impish) + URL="${URL}regolith-linux-2.0-impish-latest";; + 2.0.0_hirsute) + URL="${URL}regolith-linux-2.0-hirsute-latest";; + esac + ISO="Regolith_"${RELEASE}".iso" + web_get "${URL}/${ISO}" "${VM_PATH}" + if [ -n $HASH ]; then + check_hash "${ISO}" "${HASH}" + fi + make_vm_config "${ISO}" +} + + function get_ubuntu() { local DEVEL="daily-live" local ISO="" @@ -1235,6 +1279,8 @@ if [ -n "${2}" ]; then fi VM_PATH="${OS}-${RELEASE}-${DRIVER}" get_popos "${DRIVER}" + elif [ "${OS}" == "regolith" ]; then + get_regolith elif [ "${OS}" == "rockylinux" ]; then if [ -n "${3}" ]; then ISOTYPE="${3}" @@ -1300,6 +1346,8 @@ else releases_macos elif [ "${OS}" == "popos" ]; then releases_popos + elif [ "${OS}" == "regolith" ]; then + releases_regolith elif [ "${OS}" == "solus" ]; then releases_solus elif [[ "${OS}" == *"ubuntu"* ]]; then