Make sure IPMI Netmask is also defined

This commit is contained in:
Gregory Kurtzer
2020-12-20 22:51:26 -08:00
parent d7a6374970
commit a5714cb15c

View File

@@ -6,6 +6,10 @@ if [ -z "$WWIPMI_IPADDR" ]; then
echo "No IPMI IP address supplied, skipping IPMI configuration"
exit
fi
if [ -z "$WWIPMI_NETMASK" ]; then
echo "No IPMI netmask supplied, skipping IPMI configuration"
exit
fi
echo "IPMI IP address: $WWIPMI_IPADDR"
echo "IPMI netmask: $WWIPMI_NETMASK"