mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Fixing a typo in the debian_ip module.
This commit is contained in:
parent
abfd1a80bd
commit
cd5234efc4
@ -427,7 +427,7 @@ IPV4_ATTR_MAP = {
|
||||
'server': __ipv4_quad,
|
||||
'hwaddr': __mac,
|
||||
# tunnel
|
||||
'mode': __within(['gre', 'GRE', 'ipip', 'IPIP'], dtype=str),
|
||||
'mode': __within(['gre', 'GRE', 'ipip', 'IPIP', '802.3ad' ], dtype=str),
|
||||
'endpoint': __ipv4_quad,
|
||||
'dstaddr': __ipv4_quad,
|
||||
'local': __ipv4_quad,
|
||||
@ -1460,8 +1460,8 @@ def _write_file_ifaces(iface, data, **settings):
|
||||
filename = settings['filename']
|
||||
_SEPERATE_FILE = True
|
||||
else:
|
||||
if 'filename' in adapter[adapter]['data']:
|
||||
filename = adapter[adapter]['data']
|
||||
if 'filename' in adapters[adapter]['data']:
|
||||
filename = adapters[adapter]['data']
|
||||
else:
|
||||
filename = _DEB_NETWORK_FILE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user