This commit is contained in:
voltron committed 2023-12-12 17:32:59 -06:00
1 parent ad87df487b
commit 2585569984
5 files changed
+143 -4

No files matched your search

+1 -1
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
+1 -1
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