Update powerwall.sh
This commit is contained in:
@@ -1141,6 +1141,9 @@ ISCSISYSVMSHUTDOWN(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
HOSTPOWER(){
|
HOSTPOWER(){
|
||||||
|
echo -e "\n${idsCL[Yellow]}Host Power Control"
|
||||||
|
DIVIDER . yellow 75
|
||||||
|
|
||||||
if [ "${PW_iDRACHOST_SHORTNAMES[${1}]}" != "" ]; then
|
if [ "${PW_iDRACHOST_SHORTNAMES[${1}]}" != "" ]; then
|
||||||
idracip=${1}
|
idracip=${1}
|
||||||
elif [ "${PW_HOST_IDRACS[${1}]}" != "" ]; then
|
elif [ "${PW_HOST_IDRACS[${1}]}" != "" ]; then
|
||||||
@@ -1156,7 +1159,7 @@ HOSTPOWER(){
|
|||||||
echo -e "${idsCL[LightCyan]}'${2,,}' command is not recognized${idsCL[Default]}"
|
echo -e "${idsCL[LightCyan]}'${2,,}' command is not recognized${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
else
|
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
|
fi
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user