Update powerwall.sh

This commit is contained in:
2023-10-31 22:40:44 -05:00
parent 649e6fe6f8
commit 3a08b2773a

View File

@@ -1119,7 +1119,7 @@ SHUTDOWN_SERVER(){
echo "($datetime) - Shutting down ${host} (${hostip})" >> ${PW_LOGFILE}
echo -en "${idsCL[LightCyan]}Enabling maintenance mode ... "
[ "${TEST}" != "true" ] && ${PW_FOLDER}/esxi-scripts/host-maintenance_mode.ps1 ${PW_ESXI_HOST_NAMES[${hostip}]} & >/dev/null 2>&1 || sleep 3s
[ "${TEST}" != "true" ] && ${PW_FOLDER}/esxi-scripts/host-maintenance_mode.ps1 ${PW_ESXI_HOST_NAMES[${hostip}]} & >/dev/null 2>&1
echo -e "${idsCL[Green]}Done\n"
echo -en "${idsCL[LightCyan]}Giving time for iSCSI VM's to begin migration to other hosts ... "