commit 5c2d5e838e8a9e2e744b89fa42724118e1cccded Author: Mingming Cao Date: Thu Feb 24 09:02:05 2022 -0800 hcnmgr: Fix NM HNV setting primary slave Fix incorrect usage active_slave attribute instead of primary. Signed-off-by: Mingming Cao Signed-off-by: Tyrel Datwyler diff --git a/scripts/hcnmgr b/scripts/hcnmgr index fdb6eaa..3dc1ad2 100644 --- a/scripts/hcnmgr +++ b/scripts/hcnmgr @@ -375,7 +375,7 @@ do_config_vdevice_nm() { # if the device is primary, and link is up, force it as primary se if [[ $MODE == "primary" ]]; then hcnlog INFO "Change bonding primary slave to $DEVNAME" - echo "$DEVNAME" >"$BOND_PATH"/active_slave + echo "$DEVNAME" >"$BOND_PATH"/primary fi hcnlog DEBUG "do_config_vdevice: exit"