From c9ca199b16d2f21792d85b2247b231a83d59a05b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 9 Sep 2025 11:17:26 -0400 Subject: [PATCH] Fix preference of netplan If netplan and nmcli both exist, the intent was to prefer netplan. However, there was a mistake that caused nmcli to be the most preferred. --- confluent_osdeploy/common/profile/scripts/confignet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index 78126b6f..bb52eed2 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -545,7 +545,7 @@ if __name__ == '__main__': rm_tmp_llas(tmpllas) if os.path.exists('/usr/sbin/netplan'): nm = NetplanManager(dc) - if os.path.exists('/usr/bin/nmcli'): + elif os.path.exists('/usr/bin/nmcli'): nm = NetworkManager(devtypes, dc) elif os.path.exists('/usr/sbin/wicked'): nm = WickedManager()