diff --git a/powerwall.sh b/powerwall.sh index 353ea099..87b83351 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1143,9 +1143,7 @@ ISCSISYSVMSHUTDOWN(){ HOSTPOWER(){ echo -e "\n${idsCL[Yellow]}Host Power Control" DIVIDER . yellow 75 - - var=iDS-vMS-Host${1} - + if [ "${PW_iDRACHOST_SHORTNAMES[${1}]}" != "" ]; then idracip=${1} 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[LightYellow]} type = { main / sys / all }" 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 -e " ${idsCL[Yellow]}services {cmd} ${idsCL[Default]}--> Manage all monitor services at once"