File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
xCAT-genesis-scripts/usr/bin Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,15 @@ elif [ "$IPMIMFG" == "674" ]; then # DELL
274
274
elif [ " $BMCPORT " == " 1" ]; then # dedicated
275
275
ipmitool raw 0x30 0x28 0x01 0x00
276
276
fi
277
+ elif [ " $IPMIMFG " == " 10876" ]; then # Supermicro
278
+ BMCPORT=` grep bmcport /tmp/ipmicfg.xml | awk -F\> ' {print $2}' | awk -F\< ' {print $1}' `
279
+ logger -s -t $log_label -p local4.info " BMCPORT is $BMCPORT "
280
+ # https://www.supermicro.com/support/faqs/faq.cfm?faq=17953
281
+ if [ " $BMCPORT " == " 0" ]; then # shared
282
+ ipmitool raw 0x30 0x70 0x0c 1 1
283
+ elif [ " $BMCPORT " == " 1" ]; then # dedicated
284
+ ipmitool raw 0x30 0x70 0x0c 1 0
285
+ fi
277
286
elif [ " $IPMIMFG " == " 42817" -a " $XPROD " == " 16975" ]; then # IBM OpenPOWER servers with OpenBMC (AC922)
278
287
ISOPENBMC=1
279
288
elif [ " $IPMIMFG " == " 42817" -a " $XPROD " == " 1" ]; then # IBM OpenPOWER servers with OpenBMC (IC922)
You can’t perform that action at this time.
0 commit comments