mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Template file for 'oraclelinux'
|
|
OSNAME="oraclelinux"
|
|
PRETTY="Oracle Linux"
|
|
LOGO=""
|
|
ICON="oracle.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/oracle.png"
|
|
CATEGORY="Server"
|
|
BASEDOF="RHEL"
|
|
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="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
|
|
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"
|
|
QEMU_ARCH="amd64"
|
|
|
|
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
|
|
}
|
|
|
|
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}"
|
|
}
|
|
|
|
config_() {
|
|
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
|
|
}
|