mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Split debian bonding options on dash instead of underscore
Fixes #23904
This commit is contained in:
parent
c73bf38927
commit
c06f8cf831
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ def _parse_interfaces(interface_files=None):
|
|||
iface_dict['bonding'][opt] = valuestr
|
||||
|
||||
elif attr.startswith('bridge'):
|
||||
opt = attr.split('_', 1)[1]
|
||||
opt = attr.split('-', 1)[1]
|
||||
if 'bridging' not in iface_dict:
|
||||
iface_dict['bridging'] = salt.utils.odict.OrderedDict()
|
||||
iface_dict['bridging'][opt] = valuestr
|
||||
|
|
Loading…
Add table
Reference in a new issue