mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
removing the DIR argument from the call to _write_file_ifaces.
This commit is contained in:
parent
3d5c1543ef
commit
f329b091bb
@ -1201,7 +1201,7 @@ def build_interface(iface, iface_type, enabled, **settings):
|
||||
if settings['test']:
|
||||
return _read_temp_ifaces(iface, opts[iface])
|
||||
|
||||
ifcfg = _write_file_ifaces(iface, opts[iface], _DEB_NETWORK_DIR)
|
||||
ifcfg = _write_file_ifaces(iface, opts[iface])
|
||||
|
||||
# ensure lines in list end with newline, so difflib works
|
||||
return [item + '\n' for item in ifcfg]
|
||||
|
Loading…
Reference in New Issue
Block a user