Restrict OracleLinux support 8.x for now

7.x and 6.x use a different naming scheme
This commit is contained in:
Charles Hood 2021-11-16 15:55:24 -05:00 committed by Martin Wimpress
parent b2971e0dd3
commit e5e40ba77c

View File

@ -267,9 +267,7 @@ function releases_opensuse(){
function releases_oraclelinux() {
echo 8.4 \
8.3 \
8.2 \
7.9 \
7.8
8.2
}
function releases_macos() {
@ -1050,11 +1048,8 @@ function get_oraclelinux() {
local majorver=${RELEASE::1}
local minorver=${RELEASE:2:1}
local baseurl="https://yum.oracle.com/ISOS/OracleLinux/OL${majorver}/u${minorver}/${arch}/"
echo $baseurl
# local baseurl="https://download.rockylinux.org/pub/rocky/${RELEASE}/isos/${arch}"
validate_release "releases_oraclelinux"