ae1cf123c9
and fixed hexdump format
23 lines
810 B
Diff
23 lines
810 B
Diff
diff -up powerpc-utils-1.3.8/scripts/hcnmgr.me powerpc-utils-1.3.8/scripts/hcnmgr
|
|
--- powerpc-utils-1.3.8/scripts/hcnmgr.me 2021-11-11 11:10:37.800910318 +0100
|
|
+++ powerpc-utils-1.3.8/scripts/hcnmgr 2021-11-11 11:12:10.597104063 +0100
|
|
@@ -21,7 +21,7 @@
|
|
# support live partition migration with SR_IOV
|
|
#
|
|
|
|
-VERSION="1.0"
|
|
+VERSION="1.1"
|
|
PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin
|
|
BOND_BASEPATH="/sys/class/net"
|
|
BONDOPTIONS="mode=1,miimon=100,fail_over_mac=2"
|
|
@@ -630,6 +630,9 @@ fi
|
|
if ! nmcli --version >/dev/null 2>&1; then
|
|
err $E_ENETUNREACH
|
|
fi
|
|
+# HNV can support VNIC or Veth as backup device.
|
|
+# In the first HNV version 1.0, the vNIC as backup support was turned off
|
|
+# HNV VERSION greater than 1.0 starts to support vNIC as the backup device
|
|
if [[ $VERSION == "1.0" ]]; then
|
|
VNIC_SPT="OFF"
|
|
fi
|