From 7aef012a42f6859df8e8bbece7f208dc568935d8 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 5 Dec 2023 14:39:36 -0500 Subject: [PATCH] Correct string join syntax in confignet --- confluent_osdeploy/common/profile/scripts/confignet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index 44eb32ed..8cda6c83 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -379,9 +379,9 @@ class NetworkManager(object): elif ':' in dnsip: dns6.append(dnsip) if dns4: - cmdargs['ipv4.dns'] = dns4.join(',') + cmdargs['ipv4.dns'] = ','.join(dns4) if dns6: - cmdargs['ipv6.dns'] = dns6.join(',') + cmdargs['ipv6.dns'] = ','.join(dns6) if len(cfg['interfaces']) > 1: # team time.. should be.. if not cfg['settings'].get('team_mode', None): sys.stderr.write("Warning, multiple interfaces ({0}) without a team_mode, skipping setup\n".format(','.join(cfg['interfaces'])))