From 642baa92631072a402111974a9d39ea7c247e819 Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Sat, 5 Apr 2025 20:25:14 +0200 Subject: [PATCH] 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 --- teuthology/provision/downburst.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/teuthology/provision/downburst.py b/teuthology/provision/downburst.py index 92604a0d73..6f456107cd 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'): -- 2.39.5