VHD images are meant for Azure and we indeed test if they're bootable in test/cases/azure.sh . There's no reason to test them using libvirt anymore so this commit just removes the test. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
23 lines
765 B
Bash
23 lines
765 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# Get OS data.
|
|
source /etc/os-release
|
|
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
|
|
|
|
# Provision the software under test.
|
|
/usr/libexec/osbuild-composer-test/provision.sh
|
|
|
|
# Test the images
|
|
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2
|
|
|
|
#TODO: remove this condition once there is rhel9 support for openstack and vhd image types
|
|
if [[ "$DISTRO_CODE" != rhel_90 ]]; then
|
|
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
|
|
fi
|
|
|
|
# RHEL 8.4 and Centos Stream 8 images also supports uefi, check that
|
|
if [[ "$DISTRO_CODE" == "rhel_84" || "$DISTRO_CODE" == "centos_8" ]]; then
|
|
echo "🐄 Booting qcow2 image in UEFI mode on RHEL/Centos Stream"
|
|
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2 uefi
|
|
fi
|