From 9d5432f8cd22d2bfa5a206b227b119d95f6a473e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 18 Jul 2024 08:40:40 -0400 Subject: [PATCH] Fix network configuration when middle name ends in 'net' --- confluent_server/confluent/netutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/netutil.py b/confluent_server/confluent/netutil.py index 9e9fd597..9bac92c2 100644 --- a/confluent_server/confluent/netutil.py +++ b/confluent_server/confluent/netutil.py @@ -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]