mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-25 04:30:29 +00:00
Fix network configuration when middle name ends in 'net'
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user