# Template file for 'centos-stream' OSNAME="centos-stream" PRETTY="CentOS Stream" LOGO=" " ICON="centos-stream.svg" ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/centos.png" CATEGORY="advanced" BASEDOF="Fedora RHEL" 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="-" GPG="" RSS="" DW="" MAGNET="" CHAT="" RELEASES="9 10" EDITIONS="boot dvd1" QEMU_ARCH="amd64" releases_() { #shellcheck disable=SC2046,SC2005 web_pipe "https://linuxsoft.cern.ch/centos-stream/" | grep "\-stream" | cut -d'"' -f 6 | cut -d'-' -f 1 } editions_() { echo boot dvd1 } get_() { 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}" } config_() { echo "disk_size=\"32G\"" >> "${CONF_FILE}" }