From ecd69ca25be05fd21317c30c5c15f23d023fc005 Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Mon, 20 Mar 2023 15:29:42 +0100 Subject: [PATCH] tests/ostree: Change centos-8 BOOT_LOCATION to a working boot.iso The latest boot.iso stopped working. Changing to an older version to unblock CI. RHBZ#2180024 opened with this issue. --- test/cases/ostree-rebase-bios.sh | 4 ++-- test/cases/ostree-rebase-uefi.sh | 4 ++-- test/cases/ostree.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/cases/ostree-rebase-bios.sh b/test/cases/ostree-rebase-bios.sh index ddd26639a..15dfbd406 100755 --- a/test/cases/ostree-rebase-bios.sh +++ b/test/cases/ostree-rebase-bios.sh @@ -112,7 +112,7 @@ case "${ID}-${VERSION_ID}" in "centos-8") OSTREE_REF="centos/8/${ARCH}/edge" OS_VARIANT="centos8" - BOOT_LOCATION="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/" + BOOT_LOCATION="https://composes.centos.org/latest-CentOS-Stream-8/compose/BaseOS/x86_64/os/" PARENT_REF="centos/8/${ARCH}/edge" KERNEL_RT_PKG="kernel-rt-core" ;; @@ -361,7 +361,7 @@ echo -e 'admin\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers STOPHERE # Get the boot.iso from BOOT_LOCATION -curl -O "$BOOT_LOCATION"/images/boot.iso +curl -O "$BOOT_LOCATION"images/boot.iso sudo mv boot.iso /var/lib/libvirt/images LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso" diff --git a/test/cases/ostree-rebase-uefi.sh b/test/cases/ostree-rebase-uefi.sh index 27ff3b1c3..7ea694298 100755 --- a/test/cases/ostree-rebase-uefi.sh +++ b/test/cases/ostree-rebase-uefi.sh @@ -112,7 +112,7 @@ case "${ID}-${VERSION_ID}" in "centos-8") OSTREE_REF="centos/8/${ARCH}/edge" OS_VARIANT="centos8" - BOOT_LOCATION="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/" + BOOT_LOCATION="https://composes.centos.org/latest-CentOS-Stream-8/compose/BaseOS/x86_64/os/" PARENT_REF="centos/8/${ARCH}/edge" KERNEL_RT_PKG="kernel-rt-core" ;; @@ -363,7 +363,7 @@ LIBVIRT_IMAGE_PATH=/var/lib/libvirt/images/${IMAGE_KEY}-uefi.qcow2 sudo qemu-img create -f qcow2 "${LIBVIRT_IMAGE_PATH}" 20G # Get the boot.iso from BOOT_LOCATION -curl -O "$BOOT_LOCATION"/images/boot.iso +curl -O "$BOOT_LOCATION"images/boot.iso sudo mv boot.iso /var/lib/libvirt/images LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso" diff --git a/test/cases/ostree.sh b/test/cases/ostree.sh index 94beea9fe..cdb01f772 100755 --- a/test/cases/ostree.sh +++ b/test/cases/ostree.sh @@ -107,7 +107,7 @@ case "${ID}-${VERSION_ID}" in OSTREE_REF="centos/8/${ARCH}/edge" OS_VARIANT="centos8" USER_IN_COMMIT="true" - BOOT_LOCATION="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/" + BOOT_LOCATION="https://composes.centos.org/latest-CentOS-Stream-8/compose/BaseOS/x86_64/os/" EMBEDED_CONTAINER="true" FIREWALL_FEATURE="false" DIRS_FILES_CUSTOMIZATION="true" @@ -490,7 +490,7 @@ if [[ "${USER_IN_COMMIT}" == "true" ]]; then fi # Get the boot.iso from BOOT_LOCATION -curl -O "$BOOT_LOCATION"/images/boot.iso +curl -O "$BOOT_LOCATION"images/boot.iso sudo mv boot.iso /var/lib/libvirt/images LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso"