mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
bmcsetup: add support for Dell iDRAC
Sets the BMC NIC selection to either dedicated (ipmi.bmcport=1) or shared with failover all LOMs (ipmi.bmcport=0)
This commit is contained in:
parent
5203da6cf2
commit
195f80ee6e
@ -225,6 +225,16 @@ elif [ "$IPMIMFG" == 20301 -o "$IPMIMFG" == 19046 ] ; then
|
||||
fi
|
||||
elif [ "$IPMIMFG" == "47488" ]; then
|
||||
LOCKEDUSERS=1
|
||||
elif [ "$IPMIMFG" == "674" ]; then # DELL
|
||||
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"
|
||||
if [ "$BMCPORT" == "0" ]; then # shared with all loms
|
||||
ipmitool delloem lan set shared &>/dev/null
|
||||
ipmitool delloem lan set shared with lom1 &>/dev/null
|
||||
ipmitool delloem lan set shared with failover all loms &>dev/null
|
||||
elif [ "$BMCPORT" == "1" ]; then # dedicated
|
||||
ipmitool delloem lan set dedicated &>/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
while [ -z "$LANCHAN" ]; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user