tests: change ostree boot location for RHEL 8.4

Change BOOT_LOCATION to COMPOSE_URL until GA is released.
This commit is contained in:
Jakub Rusz 2021-05-06 10:15:07 +02:00 committed by Alexander Todorov
parent 31a0ca3284
commit cced541eb1

View file

@ -26,14 +26,12 @@ case "${ID}-${VERSION_ID}" in
IMAGE_TYPE=rhel-edge-commit
OSTREE_REF="rhel/8/${ARCH}/edge"
OS_VARIANT="rhel8.3"
# When 8.3 was released, it wasn't available on all RH internal
# mirrors, therefore the Boston mirror is hardcoded.
BOOT_LOCATION="http://download.eng.bos.redhat.com/released/rhel-8/RHEL-8/8.3.0/BaseOS/x86_64/os/";;
BOOT_LOCATION="http://download.devel.redhat.com/released/rhel-8/RHEL-8/8.3.0/BaseOS/x86_64/os/";;
"rhel-8.4")
IMAGE_TYPE=rhel-edge-commit
OSTREE_REF="rhel/8/${ARCH}/edge"
OS_VARIANT="rhel8-unknown"
BOOT_LOCATION="http://download.devel.redhat.com/nightly/rhel-8/RHEL-8/latest-RHEL-8.4/compose/BaseOS/x86_64/os/";;
BOOT_LOCATION="$COMPOSE_URL/compose/BaseOS/x86_64/os/";;
*)
echo "unsupported distro: ${ID}-${VERSION_ID}"
exit 1;;
@ -354,7 +352,7 @@ sudo virt-install --initrd-inject="${KS_FILE}" \
--network network=integration,mac=34:49:22:B0:83:30 \
--os-type linux \
--os-variant ${OS_VARIANT} \
--location ${BOOT_LOCATION} \
--location "${BOOT_LOCATION}" \
--nographics \
--noautoconsole \
--wait=-1 \