From 373103d58acd3e46e873070563e9db80d5be9dd9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 31 Oct 2023 21:34:53 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/powerwall.sh b/powerwall.sh index f9e5db6f..46c98e96 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1153,6 +1153,10 @@ HOSTPOWER(){ fi if [ "${idracip}" != "" ]; then + host=${PW_iDRACHOST_SHORTNAMES[${idracip}]} + echo -e "${idsCL[LightCyan]}Host : ${PW_HOST_ADDRESSES[${host}]} (${host})${idsCL[Default]}" + echo -e "${idsCL[LightCyan]}iDrac : ${idracip}${idsCL[Default]}" + 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