mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
avoid creating unparseable lxc config param: lxc.network.mac
This commit is contained in:
parent
47090b472b
commit
9fbd4c949e
@ -416,7 +416,7 @@ def _get_network_conf(conf_tuples=None, **kwargs):
|
||||
if k == 'link' and bridge:
|
||||
v = bridge
|
||||
v = opts.get(k, v)
|
||||
if k in ['gateway']:
|
||||
if k in ['gateway', 'mac']:
|
||||
continue
|
||||
ret.append({'lxc.network.{0}'.format(k): v})
|
||||
# gateway (in automode) must be appended following network conf !
|
||||
|
Loading…
Reference in New Issue
Block a user