This commit is contained in:
2024-11-20 22:27:02 -06:00
parent 95ba0e175d
commit 4aa33c3aba
2 changed files with 0 additions and 3 deletions

View File

@@ -65,8 +65,6 @@ unset IFS
[ "${PW_ISCSI_PRI_HOST}" = "" ] && PW_ISCSI_PRI_HOST="10.10.2.10"
[ "${PW_ISCSI_SYS_HOST}" = "" ] && PW_ISCSI_SYS_HOST="10.10.2.16"
echo "TEST: ${PW_ISCSI_PRI_HOST} - ${PW_ISCSI_SYS_HOST}"
if [ -f ${PW_FOLDER}/conf/settings.local.conf ]; then
declare -A PW_POWERWALL_SERVICES

View File

@@ -1273,7 +1273,6 @@ HOSTPOWER(){
fi
echo -e "${idsCL[Default]}"
echo "HERE: [ ${idracip} = ${PW_HOST_IDRACS[${PW_ESXI_HOST_NAMES[${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