]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
provision/downburst: drop redhat-lsb-core requirement for centos 2042/head
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Sat, 5 Apr 2025 18:25:14 +0000 (20:25 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Sun, 6 Apr 2025 17:00:32 +0000 (19:00 +0200)
This package cannot be found, and in fact it's not required,
because better use /etc/os-release

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
teuthology/provision/downburst.py

index 92604a0d7369974c119b2c95df72f180759af7a6..6f456107cd2a385a9a1e64bca641b4d3045bc122 100644 (file)
@@ -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'):