2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 02:08:25 +00:00

Abandon trying to run the dedicated in ipv6 mode.

The network stack on the TSM is unable to handle this
situation well.
This commit is contained in:
Jarrod Johnson
2019-11-20 10:03:14 -05:00
parent 54a12ee185
commit 8128989802

View File

@@ -238,7 +238,7 @@ elif [ "$IPMIMFG" = "19046" -a "$XPROD" = "1287" ]; then
LANCHAN=$(ipmitool raw 0x32 0x72 4 1 0|sed -e 's/^ 0//')
fi
ipmitool raw 0x3c 0x70 0 1 2> /dev/null
USBSTATE=$(ipmitool raw 0x32 0xab)
#USBSTATE=$(ipmitool raw 0x32 0xab)
#ipmitool raw 0x32 0xaa 0
elif [ "$IPMIMFG" == 20301 -o "$IPMIMFG" == 19046 -a "$XPROD" != 502 ] ; then
IBMVPDV=`ipmitool raw 0x3a 0xb 2 0 16 1`
@@ -707,16 +707,14 @@ if [ -e /tmp/xcchostnic ]; then
ip netns exec mgt ip link set dev $INTERFACE netns 1
/usr/sbin/setupimmnic
fi
if [ ! -z "$USBSTATE" ]; then # Continuation of SR635/SR655 specific code
if [ "$BMCPORT" = 0 ]; then
# Enable ipv6 at least for the 'other' interface
# this is opposite of the selected port
ipmitool raw 0x32 0x71 0 1 2
else
ipmitool raw 0x32 0x71 0 0 2
fi
#if [ ! -z "$USBSTATE" ]; then # Continuation of SR635/SR655 specific code
# if [ "$BMCPORT" = 0 ]; then
# # Enable ipv6 at least for the 'other' interface
# # this is opposite of the selected port
# ipmitool raw 0x32 0x71 0 1 2
# fi
# ipmitool raw 0x32 0xaa $USBSTATE
fi
#fi
# remove the bmc configuration information before exit