diff --git a/powerwall.sh b/powerwall.sh index 29257f1b..a558e26a 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1161,6 +1161,7 @@ HOSTPOWER(){ echo -e "${idsCL[LightCyan]}iDrac IP: ${idsCL[Green]}${idracip}${idsCL[Default]}" DIVIDER . yellow 75 echo + if [ "${2,,}" == "on" ] || [ "${2,,}" == "off" ] || [ "${2,,}" == "status" ]; then ssh root@${PW_RACADM_ACCESS} ipmitool -I lanplus -H ${idracip} -U ${PW_ESXI_USER} -P "'${PW_ESXI_PASS}'" chassis power ${2,,} else @@ -1358,6 +1359,8 @@ fi echo -e " ${idsCL[LightYellow]} type = { main='iSCSI-PRI' / sys='iSCSI-SYS' }${idsCL[Default]} --> Defaults to main (iSCSI-PRI)" 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 # echo # echo -e " ${idsCL[Yellow]}services {cmd} ${idsCL[Default]}--> Manage all monitor services at once"