2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-23 11:40:25 +00:00

Use a different ipmitool command for the OpenPower BMC to identify the light

This commit is contained in:
Victor Hu
2016-06-07 17:25:50 -04:00
parent fb93154806
commit 08e6606dca

View File

@@ -531,10 +531,16 @@ while [ $idev -gt 0 ]; do
fi
logger -s -t $log_label -p local4.info "Lighting Identify Light"
while :
# Identify the server by turning on the LED light
do ipmitool -d $idev raw 0 4 10 > /dev/null
sleep 7
done &
if [ "$XPROD" = "43707" ]; then
# OpenPower BMC specific, turn on the LED beacon for 5 minutes
ipmitool chassis identify 300
else
# All other BMCs
while :
# Identify the server by turning on the LED light
do ipmitool -d $idev raw 0 4 10 > /dev/null
sleep 7
done &
fi
done