This commit is contained in:
2023-12-12 17:32:59 -06:00
parent ad87df487b
commit 2585569984
5 changed files with 143 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ fi
# shutdown the ESXi host
echo "Shutting down ESXi host after 10 seconds..."
if [ $TEST -eq 0 ]; then
esxcli system shutdown poweroff -d 10 -r "Automated ESXi host shutdown - esxidown.sh"
esxcli system shutdown poweroff -d 10 -r "Power-Monitor script initiated system shutdown"
fi
# exit the session

View File

@@ -71,7 +71,7 @@ echo "Guest VM shutdown complete..."
# shutdown the ESXi host
echo "Shutting down ESXi host after 10 seconds..."
if [ $TEST -eq 0 ]; then
esxcli system shutdown poweroff -d 10 -r "Automated ESXi host shutdown - esxidown.sh"
esxcli system shutdown poweroff -d 10 -r "Power-Monitor script initiated system shutdown"
fi
# exit maintenance mode immediately before server has a chance to shutdown/power off