Fix name of IPMI check again
This commit is contained in:
parent
99682c16a2
commit
dd60b6b9ea
|
@ -13,7 +13,7 @@ if ! which ipmitool >/dev/null 2>&1 || ! which fping >/dev/null 2>&1 ; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "<<<ipmi-reachability>>>"
|
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