From f42d07f15a7f6ec9f25ec14c040c977ea0eeb6a4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 31 Oct 2023 21:25:40 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 462e74c5..f9e5db6f 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -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 }