parent
a63ddfb23f
commit
13c6ec98fe
@ -0,0 +1,24 @@
|
||||
commit 5c2d5e838e8a9e2e744b89fa42724118e1cccded
|
||||
Author: Mingming Cao <mmc@linux.vnet.ibm.com>
|
||||
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 <mmc@linux.vnet.ibm.com>
|
||||
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
|
||||
|
||||
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"
|
Loading…
Reference in New Issue