mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fix ordering of generated interfaces in the /etc/network/interface file
This commit is contained in:
parent
abfd1a80bd
commit
5abbafb743
@ -1448,7 +1448,7 @@ def _write_file_ifaces(iface, data, **settings):
|
||||
tmp = source_template.render({'name': adapter, 'data': adapters[adapter]})
|
||||
else:
|
||||
tmp = eth_template.render({'name': adapter, 'data': adapters[adapter]})
|
||||
ifcfg = tmp + ifcfg
|
||||
ifcfg = ifcfg + tmp
|
||||
if adapter == iface:
|
||||
saved_ifcfg = tmp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user