Update powerwall.sh
This commit is contained in:
@@ -1116,13 +1116,13 @@ SHUTDOWN_SERVER(){
|
||||
|
||||
echo "($datetime) - Shutting down ${host} (${hostip})" >> ${PW_LOGFILE}
|
||||
|
||||
echo -en "${idsCL[LightCyan]}Enabling maintenance mode ... "
|
||||
echo -en "${idsCL[LightCyan]}Enabling maintenance mode & starting iSCSI VM migrations ... "
|
||||
[ "${TEST}" != "true" ] && ${PW_FOLDER}/esxi-scripts/host-maintenance_mode.ps1 ${PW_VCENTER_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 ... "
|
||||
[ "${TEST}" != "true" ] && sleep 45s
|
||||
echo -e "${idsCL[Green]}Done\n"
|
||||
# echo -en "${idsCL[LightCyan]}Giving time for iSCSI VM's to begin migration to other hosts ... "
|
||||
# [ "${TEST}" != "true" ] && sleep 45s
|
||||
# echo -e "${idsCL[Green]}Done\n"
|
||||
|
||||
echo -en "${idsCL[LightCyan]}Shutting down remaining VM's ... "
|
||||
if [ "${TEST}" != "true" ]; then
|
||||
|
||||
Reference in New Issue
Block a user