])
# 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'):