From 690980c064b55fe9fdcefc5454856873167a4619 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 23 Apr 2025 10:28:42 -0400 Subject: [PATCH] Always specify miimon=100 in networkmanager bonds We already do this for SUSE, it makes sense as a default. --- 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 5bf0871b..0c93485b 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -409,7 +409,7 @@ class NetworkManager(object): cargs.append(cmdargs[arg]) if stgs['team_mode'] in self.bondtypes: stgs['team_mode'] = self.bondtypes[stgs['team_mode']] - subprocess.check_call(['nmcli', 'c', 'add', 'type', 'bond', 'con-name', cname, 'connection.interface-name', cname, 'bond.options', 'mode={}'.format(stgs['team_mode'])] + cargs) + subprocess.check_call(['nmcli', 'c', 'add', 'type', 'bond', 'con-name', cname, 'connection.interface-name', cname, 'bond.options', 'miimon=100,mode={}'.format(stgs['team_mode'])] + cargs) for iface in cfg['interfaces']: self.add_team_member(cname, iface) subprocess.check_call(['nmcli', 'c', 'u', cname])