Update powerwall.sh

This commit is contained in:
2023-12-22 08:13:40 -06:00
parent 4673c6a63f
commit 37d7612397

View File

@@ -601,9 +601,9 @@ HOSTMGMT(){
done
else
# if [ "$(ipmitool -I lanplus -H ${PW_HOST_IDRACS[${PW_ESXI_HOST_NAMES[${ESXI_HOST}]}]} -U ${PW_ESXI_USER} -P "${PW_ESXI_PASS}" chassis power status | grep 'Power is on')" == "" ]; then
# HOSTPOWER ${ESXI_HOST} ${POWER}
HOSTPOWER ${ESXI_HOST} ${POWER}
# else
echo -e "\n${idsCL[LightCyan]}Host is already Powered ON${idsCL[Default]}"
# echo -e "\n${idsCL[LightCyan]}Host is already Powered ON${idsCL[Default]}"
# fi
fi
fi