Fix name of ipmi check

This commit is contained in:
Joshua Boniface 2021-11-02 22:16:47 -04:00
parent 319ca891d5
commit 99682c16a2
1 changed files with 1 additions and 1 deletions

View File

@ -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 }')