diff --git a/xCAT-genesis-scripts/usr/bin/bmcsetup b/xCAT-genesis-scripts/usr/bin/bmcsetup index efd76c9eb..3932d70d5 100755 --- a/xCAT-genesis-scripts/usr/bin/bmcsetup +++ b/xCAT-genesis-scripts/usr/bin/bmcsetup @@ -274,6 +274,15 @@ elif [ "$IPMIMFG" == "674" ]; then # DELL elif [ "$BMCPORT" == "1" ]; then # dedicated ipmitool raw 0x30 0x28 0x01 0x00 fi +elif [ "$IPMIMFG" == "10876" ]; then # Supermicro + BMCPORT=`grep bmcport /tmp/ipmicfg.xml |awk -F\> '{print $2}'|awk -F\< '{print $1}'` + logger -s -t $log_label -p local4.info "BMCPORT is $BMCPORT" + # https://www.supermicro.com/support/faqs/faq.cfm?faq=17953 + if [ "$BMCPORT" == "0" ]; then # shared + ipmitool raw 0x30 0x70 0x0c 1 1 + elif [ "$BMCPORT" == "1" ]; then # dedicated + ipmitool raw 0x30 0x70 0x0c 1 0 + fi elif [ "$IPMIMFG" == "42817" -a "$XPROD" == "16975" ]; then # IBM OpenPOWER servers with OpenBMC (AC922) ISOPENBMC=1 elif [ "$IPMIMFG" == "42817" -a "$XPROD" == "1" ]; then # IBM OpenPOWER servers with OpenBMC (IC922)