Merge pull request #40053 from saltstack/rh_ip_patch

Update rh_ip.py
This commit is contained in:
Mike Place 2017-03-15 12:57:31 -06:00 committed by GitHub
commit 3584f935fa

View file

@ -972,7 +972,7 @@ def build_interface(iface, iface_type, enabled, **settings):
if iface_type == 'bridge':
__salt__['pkg.install']('bridge-utils')
if iface_type in ['eth', 'bond', 'bridge', 'slave', 'vlan', 'ipip', 'ib']:
if iface_type in ['eth', 'bond', 'bridge', 'slave', 'vlan', 'ipip', 'ib', 'alias']:
opts = _parse_settings_eth(settings, iface_type, enabled, iface)
try:
template = JINJA.get_template('rh{0}_eth.jinja'.format(rh_major))