From: David Galloway Date: Fri, 24 Oct 2025 19:31:35 +0000 (-0400) Subject: packaging.py: Support Rocky X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d9713246eef38b2baf284e901da1b6894c4d36e1;p=teuthology.git packaging.py: Support Rocky Signed-off-by: David Galloway --- diff --git a/teuthology/packaging.py b/teuthology/packaging.py index 2f6e6ba13..4c4452ba5 100644 --- a/teuthology/packaging.py +++ b/teuthology/packaging.py @@ -571,7 +571,7 @@ class GitbuilderProject(object): def _get_dist_release(self): version = self._parse_version(self.os_version) - if self.os_type in ('centos', 'rhel'): + if self.os_type in ('centos', 'rhel', 'rocky'): return "el{0}".format(version) elif self.os_type == "fedora": return "fc{0}".format(version) @@ -941,6 +941,9 @@ class ShamanProject(GitbuilderProject): if distro in ('centos', 'rhel'): distro = 'centos' version = cls._parse_version(version) + elif distro == 'rocky': + distro = 'rocky' + version = cls._parse_version(version) return "%s/%s" % (distro, version) def _get_package_sha1(self):