2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 10:18:20 +00:00

Remove TSM networking restart

The cause of the problems was likely a NCSI failover
behavior.
This commit is contained in:
Jarrod Johnson
2019-12-03 11:49:54 -05:00
parent 0958502426
commit 87df6c9ab6

View File

@@ -711,23 +711,6 @@ 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
echo -n "Restarting TSM networking...."
if [ "$BMCPORT" = 0 ]; then
sleep 15
ipmitool raw 0x32 0x71 0 0 0
sleep 15
ipmitool raw 0x32 0x71 0 0 3
else
sleep 15
ipmitool raw 0x32 0x71 0 1 0
sleep 15
ipmitool raw 0x32 0x71 0 1 3
fi
echo "Done"
# ipmitool raw 0x32 0xaa $USBSTATE
fi
# remove the bmc configuration information before exit
rm -f /tmp/ipmicfg.xml