]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Install redhat-lsb-core on downbursted centos VMs for `lsb_release`
authorDavid Galloway <dgallowa@redhat.com>
Fri, 26 Aug 2016 21:51:49 +0000 (17:51 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 30 Aug 2016 22:23:00 +0000 (18:23 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
teuthology/provision/downburst.py

index 7794d94afc56cc81af58fa8388635184d6c170b1..8eaa705c79bf0be2efc40a91874a001b9bd00bf7 100644 (file)
@@ -187,12 +187,14 @@ class Downburst(object):
         user_info['packages'].extend([
             'git',
         ])
-        # On CentOS/RHEL/Fedora, write the correct mac address
+        # 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, we need to install 'python' to get
         # python2.7, which ansible needs
         elif os_type == 'ubuntu':