From 8d6b998b0a8ba5e07844deb130bc3499341fc6a0 Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Thu, 30 Jun 2022 15:12:23 +0200 Subject: [PATCH] tests/libvirt: boot with uefi on rhel and centos Updating condition to run on all rhel and centos runners. Before this eufi was not tested on all supported runners. --- test/cases/libvirt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cases/libvirt.sh b/test/cases/libvirt.sh index 03f842988..320f4f990 100644 --- a/test/cases/libvirt.sh +++ b/test/cases/libvirt.sh @@ -17,7 +17,7 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh /usr/libexec/osbuild-composer-test/libvirt_test.sh openstack # RHEL 8.4+ and Centos Stream 8+ images also supports uefi, check that -if [[ "$DISTRO_CODE" == "rhel-84" || "$DISTRO_CODE" == "rhel-85" || "$DISTRO_CODE" == "centos-8" || "$DISTRO_CODE" == "rhel-90" || "$DISTRO_CODE" == "centos-9" ]]; then +if [[ "$ID" == "rhel" || "$ID" == "centos" ]] ; then echo "🐄 Booting qcow2 image in UEFI mode on RHEL/Centos Stream" /usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2 uefi fi