diff --git a/quickget b/quickget index 5a1f18c..e4b4fd3 100755 --- a/quickget +++ b/quickget @@ -82,6 +82,7 @@ function os_info() { 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.";; @@ -463,6 +464,7 @@ function os_support() { popos \ porteus \ primtux \ + proxmox-ve \ pureos \ reactos \ rebornos \ @@ -940,6 +942,11 @@ 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 } @@ -1470,6 +1477,10 @@ EOF 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 @@ -2336,6 +2347,17 @@ function get_primtux() { 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=""