Fix name of ipmi check
This commit is contained in:
parent
9f7dbfb4f8
commit
44cedf66c9
|
@ -13,7 +13,7 @@ if ! which ipmitool >/dev/null 2>&1 || ! which fping >/dev/null 2>&1 ; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "<<<ipmi>>>"
|
echo "<<<ipmi-reachability>>>"
|
||||||
|
|
||||||
# Grab IPMI IP from interfaces file
|
# Grab IPMI IP from interfaces file
|
||||||
IPMIIP_INTERFACES=$(grep 'ipmitool' /etc/network/interfaces.d/ipmi | grep -v 'defgw' | grep 'ipaddr' | awk '{ print $NF }')
|
IPMIIP_INTERFACES=$(grep 'ipmitool' /etc/network/interfaces.d/ipmi | grep -v 'defgw' | grep 'ipaddr' | awk '{ print $NF }')
|
||||||
|
|
Loading…
Reference in New Issue