Skip to content

Commit 6e8589c

Browse files
author
Kyr Shatskyy
committed
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 <kyrylo.shatskyy@clyso.com>
1 parent 5f2416c commit 6e8589c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

teuthology/provision/downburst.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,11 @@ def build_config(self):
256256
])
257257

258258
# On CentOS/RHEL/Fedora, write the correct mac address and
259-
# install redhab-lsb-core for `lsb_release`
260259
if os_type in ['centos', 'rhel', 'fedora']:
261260
user_info['runcmd'].extend([
262261
['sed', '-ie', 's/HWADDR=".*"/HWADDR="%s"/' % mac_address,
263262
'/etc/sysconfig/network-scripts/ifcfg-eth0'],
264263
])
265-
user_info['packages'].append('redhat-lsb-core')
266264
# On Ubuntu, starting with 16.04, and Fedora, starting with 24, we need
267265
# to install 'python' to get python2.7, which ansible needs
268266
if os_type in ('ubuntu', 'fedora'):

0 commit comments

Comments
 (0)