This commit is contained in:
2023-05-15 12:54:50 -05:00
parent 03c21336d9
commit 6f0da82d5a
2 changed files with 7 additions and 7 deletions

View File

@@ -424,9 +424,9 @@ SHUTDOWN_SERVERS(){
}
SHUTDOWN_SERVER(){
echo -en "Enabling Maintenance mode and will wait for iSCSI VM's to begin migrating ... "
echo "HERE: ${ESXI_HOST_NAMES[${1}]}"
${FOLDER}/esxi-scripts/host-maintenance_modce.ps1 ${ESXI_HOST_NAMES[${1}]} >/dev/null 2>&1
sleep 10s
echo "HERE: ${ESXI_HOST_NAMES[${1//./}]}"
# ${FOLDER}/esxi-scripts/host-maintenance_modce.ps1 ${ESXI_HOST_NAMES[${1}]} >/dev/null 2>&1
sleep 30s
echo "Done"
echo -en "Shutting Down VM's on: ${1} ... "