This commit is contained in:
2024-01-26 12:27:59 -06:00
parent 8a6b0e5257
commit f406abbf33
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
VERS='2.5.159-01252024'
VERS='2.5.160-01252024'
noheader=' update service dailytemp confsync -r -report '

View File

@@ -170,7 +170,7 @@ MAINT_MODE_VERIFY_SHUTDOWN(){
ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 root@${ESXIHOST} 'esxcli system shutdown poweroff -d 10 -r "Power-Monitor script initiated system shutdown"'
sleep 4s
ssh -q -o ConnectTimeout=1 -o ConnectionAttempts=1 root@${ESXIHOST} 'esxcli system maintenanceMode set -e false -t 0'
touch ${PW_TMPFOLDER}/${PW_ESXI_HOST_NAMES[${ESXIHOST}]}.disable ${PW_TMPFOLDER}/${PW_ESXI_HOST_NAMES[${ESXIHOST}]}.down
}
SHUTDOWN_SERVER(){