Update powerwall.sh

This commit is contained in:
2023-10-31 22:08:45 -05:00
parent d0e951c69b
commit 83dc41c36a

View File

@@ -1144,8 +1144,6 @@ HOSTPOWER(){
echo -e "\n${idsCL[Yellow]}Host Power Control" echo -e "\n${idsCL[Yellow]}Host Power Control"
DIVIDER . yellow 75 DIVIDER . yellow 75
var=iDS-vMS-Host${1}
if [ "${PW_iDRACHOST_SHORTNAMES[${1}]}" != "" ]; then if [ "${PW_iDRACHOST_SHORTNAMES[${1}]}" != "" ]; then
idracip=${1} idracip=${1}
elif [ "${PW_ESXI_HOST_NAMES[${1}]}" != "" ]; then elif [ "${PW_ESXI_HOST_NAMES[${1}]}" != "" ]; then
@@ -1367,7 +1365,7 @@ fi
echo -e " ${idsCL[Yellow]}shutdown_servers {type} ${idsCL[Default]}--> Shutdown selection of servers" echo -e " ${idsCL[Yellow]}shutdown_servers {type} ${idsCL[Default]}--> Shutdown selection of servers"
echo -e " ${idsCL[LightYellow]} type = { main / sys / all }" echo -e " ${idsCL[LightYellow]} type = { main / sys / all }"
echo -e " ${idsCL[Yellow]}hostpower {host} ${idsCL[Default]}--> Control host chassis power" echo -e " ${idsCL[Yellow]}hostpower {host} ${idsCL[Default]}--> Control host chassis power"
echo -e " ${idsCL[LightYellow]} host = {idrac-ip}, {esxi-ip} or {hostname}" echo -e " ${idsCL[LightYellow]} host = {idrac-ip}, {esxi-ip}, {hostname} or {host-number;0-9}"
echo echo
# echo # echo
# echo -e " ${idsCL[Yellow]}services {cmd} ${idsCL[Default]}--> Manage all monitor services at once" # echo -e " ${idsCL[Yellow]}services {cmd} ${idsCL[Default]}--> Manage all monitor services at once"