mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 10:39:23 +00:00
Fix network configuration when middle name ends in 'net'
This commit is contained in:
parent
abf12f2b96
commit
9d5432f8cd
@ -320,7 +320,7 @@ def get_full_net_config(configmanager, node, serverip=None):
|
||||
if val is None:
|
||||
continue
|
||||
if attrib.startswith('net.'):
|
||||
attrib = attrib.replace('net.', '').rsplit('.', 1)
|
||||
attrib = attrib.replace('net.', '', 1).rsplit('.', 1)
|
||||
if len(attrib) == 1:
|
||||
iface = None
|
||||
attrib = attrib[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user