2
0
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:
Jarrod Johnson 2024-07-18 08:40:40 -04:00
parent abf12f2b96
commit 9d5432f8cd

View File

@ -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]