mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Update the 'ports' option in bridge settings.
It seems space is right delimiter. On trusty I got the following error trying to bringing up the bridge: $ ifup br0 interface em1,em2 does not exist!
This commit is contained in:
parent
912c034653
commit
af8b675cc3
@ -1134,7 +1134,7 @@ def _parse_bridge_opts(opts, iface):
|
|||||||
|
|
||||||
if 'ports' in opts:
|
if 'ports' in opts:
|
||||||
if isinstance(opts['ports'], list):
|
if isinstance(opts['ports'], list):
|
||||||
opts['ports'] = ','.join(opts['ports'])
|
opts['ports'] = ' '.join(opts['ports'])
|
||||||
config.update({'ports': opts['ports']})
|
config.update({'ports': opts['ports']})
|
||||||
|
|
||||||
for opt in ['ageing', 'fd', 'gcint', 'hello', 'maxage']:
|
for opt in ['ageing', 'fd', 'gcint', 'hello', 'maxage']:
|
||||||
|
Loading…
Reference in New Issue
Block a user