From 3ee692539bfa2b8aaa5a8c4a8ee5ac79feb4d603 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 31 Oct 2023 21:36:11 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index 46c98e96..ac40c364 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1160,10 +1160,10 @@ HOSTPOWER(){ 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 - echo -e "${idsCL[LightCyan]}'${2,,}' command is not recognized${idsCL[Default]}" + echo -e "${idsCL[LightRed]}'${2,,}' command is not recognized${idsCL[Default]}" fi else - echo -e "${idsCL[LightCyan]}iDrac address cannot be found for '${1}'${idsCL[Default]}" + echo -e "${idsCL[LightRed]}Host cannot be found for '${1}'${idsCL[Default]}" fi echo }