Update powerwall.sh
This commit is contained in:
@@ -1118,8 +1118,10 @@ SHUTDOWN_SERVER(){
|
||||
|
||||
echo "($datetime) - Shutting down ${host} (${hostip})" >> ${PW_LOGFILE}
|
||||
echo -en "${idsCL[LightCyan]}Enabling Maintenance mode and will wait for iSCSI VM's to begin migrating ... "
|
||||
[ "${TEST}" != "true" ] && ${PW_FOLDER}/esxi-scripts/host-maintenance_mode.ps1 ${PW_ESXI_HOST_NAMES[${hostip}]} & >/dev/null 2>&1
|
||||
sleep 45s
|
||||
if [ "${TEST}" != "true" ]; then
|
||||
${PW_FOLDER}/esxi-scripts/host-maintenance_mode.ps1 ${PW_ESXI_HOST_NAMES[${hostip}]} & >/dev/null 2>&1
|
||||
sleep 45s
|
||||
fi
|
||||
echo -e "${idsCL[Green]}Done\n"
|
||||
|
||||
echo -en "${idsCL[LightCyan]}Shutting Down VM's on: ${host} (${hostip}) ... "
|
||||
|
||||
Reference in New Issue
Block a user