mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 19:20:24 +00:00
Use a different ipmitool command for the OpenPower BMC to identify the light
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user