From 733b6853dd33534d28018ab82bbee1a275f33598 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 28 Feb 2023 12:04:20 -0500 Subject: [PATCH] Up newly added interfaces as a matter of course --- confluent_osdeploy/common/profile/scripts/confignet | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index b2147e74..9823bca6 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -296,6 +296,10 @@ class NetworkManager(object): subprocess.check_call(['nmcli', 'c', 'u', u]) else: subprocess.check_call(['nmcli', 'c', 'add', 'type', self.devtypes[iname], 'con-name', cname, 'connection.interface-name', iname] + cargs) + self.read_connections() + u = self.uuidbyname.get(cname, None) + if u: + subprocess.check_call(['nmcli', 'c', 'u', u])