From 6a69a4f4db9f66978d9b593b0f510b1046fa969b Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 4 Oct 2021 09:48:32 +0100 Subject: [PATCH] CI: enable DNF tests on CentOS Stream 8 These were inadvertently skipped following the move to CentOS Stream, due to matching the distro name on CentOS Linux. Backport to Victoria. Change-Id: I478d6304c3f8d207bc7062a0909147a169003027 --- .../tests/test_overcloud_host_configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py b/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py index 0ec0d01db..993df2b80 100644 --- a/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py +++ b/playbooks/kayobe-overcloud-host-configure-base/tests/test_overcloud_host_configure.py @@ -12,7 +12,7 @@ import pytest def _is_dnf(): info = distro.linux_distribution() - return info[0] == 'CentOS Linux' and info[1].startswith('8') + return info[0].startswith('CentOS') and info[1].startswith('8') def test_network_ethernet(host):