Update powerwall.sh

This commit is contained in:
2023-10-31 21:25:40 -05:00
parent 2ddb9ad011
commit f42d07f15a

View File

@@ -1141,6 +1141,9 @@ ISCSISYSVMSHUTDOWN(){
}
HOSTPOWER(){
echo -e "\n${idsCL[Yellow]}Host Power Control"
DIVIDER . yellow 75
if [ "${PW_iDRACHOST_SHORTNAMES[${1}]}" != "" ]; then
idracip=${1}
elif [ "${PW_HOST_IDRACS[${1}]}" != "" ]; then
@@ -1156,7 +1159,7 @@ HOSTPOWER(){
echo -e "${idsCL[LightCyan]}'${2,,}' command is not recognized${idsCL[Default]}"
fi
else
echo -e "${idsCL[LightCyan]}Host does not exist${idsCL[Default]}"
echo -e "${idsCL[LightCyan]}iDrac address cannot be found for '${1}'${idsCL[Default]}"
fi
echo
}