This commit is contained in:
2024-11-20 22:22:03 -06:00
parent a1000f6604
commit ba01011bb8
2 changed files with 3 additions and 1 deletions

View File

@@ -1274,7 +1274,6 @@ HOSTPOWER(){
echo -e "${idsCL[Default]}"
echo "HERE: [ ${idracip} = ${PW_HOST_IDRACS[${PW_ESXI_HOST_NAMES[${PW_ISCSI-PRI_HOST}]}]} ]"
echo ${PW_ISCSI-PRI_HOST}
if [ "${idracip}" = "${PW_HOST_IDRACS[${PW_ESXI_HOST_NAMES[${PW_ISCSI-PRI_HOST}]}]}" ] && [ "${2^^}" = "OFF" ]; then
MSG="Powering OFF the SAS Enclosure"
c=0; MSG_SPC=''; spc1=`expr ${HC_CW} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done