From: Kyr Shatskyy Date: Sat, 5 Apr 2025 18:25:14 +0000 (+0200) Subject: provision/downburst: drop redhat-lsb-core requirement for centos X-Git-Tag: 1.2.2~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2042%2Fhead;p=teuthology.git provision/downburst: drop redhat-lsb-core requirement for centos This package cannot be found, and in fact it's not required, because better use /etc/os-release Signed-off-by: Kyr Shatskyy --- diff --git a/teuthology/provision/downburst.py b/teuthology/provision/downburst.py index 92604a0d7..6f456107c 100644 --- a/teuthology/provision/downburst.py +++ b/teuthology/provision/downburst.py @@ -256,13 +256,11 @@ class Downburst(object): ]) # On CentOS/RHEL/Fedora, write the correct mac address and - # install redhab-lsb-core for `lsb_release` if os_type in ['centos', 'rhel', 'fedora']: user_info['runcmd'].extend([ ['sed', '-ie', 's/HWADDR=".*"/HWADDR="%s"/' % mac_address, '/etc/sysconfig/network-scripts/ifcfg-eth0'], ]) - user_info['packages'].append('redhat-lsb-core') # On Ubuntu, starting with 16.04, and Fedora, starting with 24, we need # to install 'python' to get python2.7, which ansible needs if os_type in ('ubuntu', 'fedora'):