test/libvirt.sh: don't test openstack image on el10 / c10s
There's no openstack image type on el10 / c10s any more. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
84c2758871
commit
812b331743
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh
|
||||||
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2
|
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2
|
||||||
|
|
||||||
# Fedora's openstack image is an alias of qcow2, we don't need to test it separately
|
# Fedora's openstack image is an alias of qcow2, we don't need to test it separately
|
||||||
if [[ "$ID" != "fedora" ]] ; then
|
# el10 / c10s no longer has an openstack image type
|
||||||
|
if [[ ("$ID" == "rhel" || "$ID" == "centos") && ${VERSION_ID%.*} -lt 10 ]] ; then
|
||||||
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
|
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue