mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
OracleLinux debugging
more echo statements
This commit is contained in:
parent
8449e40a47
commit
3bfd7e1ad9
1 changed files with 6 additions and 5 deletions
11
quickget
11
quickget
|
@ -1044,8 +1044,8 @@ function get_oraclelinux() {
|
||||||
|
|
||||||
local arch="x86_64"
|
local arch="x86_64"
|
||||||
|
|
||||||
local majorver=${RELEASE,1,1}
|
local majorver=${RELEASE,0,1}
|
||||||
local minorver=${RELEASE,3,1}
|
local minorver=${RELEASE,2,1}
|
||||||
|
|
||||||
echo $RELEASE
|
echo $RELEASE
|
||||||
echo $majorver
|
echo $majorver
|
||||||
|
@ -1056,9 +1056,10 @@ function get_oraclelinux() {
|
||||||
# local baseurl="https://download.rockylinux.org/pub/rocky/${RELEASE}/isos/${arch}"
|
# local baseurl="https://download.rockylinux.org/pub/rocky/${RELEASE}/isos/${arch}"
|
||||||
|
|
||||||
validate_release "releases_oraclelinux"
|
validate_release "releases_oraclelinux"
|
||||||
ISO="https://yum.oracle.com/ISOS/OracleLinux/OL8/u4/x86_64/OracleLinux-R8-U4-x86_64-dvd.iso"
|
|
||||||
# ISO="OracleLinux-R${majorver}-U${minorver}-${arch}-dvd.iso"
|
ISO="OracleLinux-R${majorver}-U${minorver}-${arch}-dvd.iso"
|
||||||
URL="${baseurl}/${ISO}"
|
URL="https://yum.oracle.com/ISOS/OracleLinux/OL8/u4/x86_64/OracleLinux-R8-U4-x86_64-dvd.iso"
|
||||||
|
# URL="${baseurl}/${ISO}"
|
||||||
# HASH=$(wget -q -O- "${baseurl}/CHECKSUM" | grep "SHA256 (${ISO})" | grep -E -i -w -o '[0-9a-z]{64}')
|
# HASH=$(wget -q -O- "${baseurl}/CHECKSUM" | grep "SHA256 (${ISO})" | grep -E -i -w -o '[0-9a-z]{64}')
|
||||||
|
|
||||||
web_get "${URL}" "${VM_PATH}"
|
web_get "${URL}" "${VM_PATH}"
|
||||||
|
|
Loading…
Reference in a new issue