From 3c1ff0c34b8299d0b4146e45482546a5bc1e5859 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 31 Oct 2024 14:13:36 +0100 Subject: [PATCH] CI: Fix Ubuntu 24.04 version check Change-Id: I5165ab758d2a7040d22b139813f0dce45fa0d59e (cherry picked from commit 2fb57a72a7cdd24df5f52a7cde47b5e6e68a08db) --- .../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 03f2313d9..dfbd2e978 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 @@ -29,7 +29,7 @@ def _is_dnf_mirror(): def _is_ubuntu_noble(): name = distro.name() version = distro.version() - return name == 'Ubuntu' and version == 24.04 + return name == 'Ubuntu' and version == '24.04' def test_network_ethernet(host):