mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
28 lines
842 B
Text
28 lines
842 B
Text
# 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"
|
|
|
|
function get_() {
|
|
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 specific_tweaks() {
|
|
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
|
|
}
|
|
|