Skip to content

Commit

Permalink
Fix support for GATEWAY in interface configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollie authored and basepi committed Apr 11, 2013
1 parent ce985b1 commit 8da713e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/modules/rh_ip.py
Expand Up @@ -43,7 +43,7 @@ def __virtual__():
]
_RH_CONFIG_OPTS = [
'domain', 'peerdns', 'defroute',
'mtu', 'static-routes'
'mtu', 'static-routes', 'gateway'
]
_RH_CONFIG_BONDING_OPTS = [
'mode', 'miimon', 'arp_interval',
Expand Down Expand Up @@ -596,7 +596,7 @@ def _parse_settings_eth(opts, iface_type, enabled, iface):
if 'bridge' in opts:
result['bridge'] = opts['bridge']

for opt in ['ipaddr', 'master', 'netmask', 'srcaddr', 'delay', 'domain']:
for opt in ['ipaddr', 'master', 'netmask', 'srcaddr', 'delay', 'domain', 'gateway']:
if opt in opts:
result[opt] = opts[opt]

Expand Down

0 comments on commit 8da713e

Please sign in to comment.