update
This commit is contained in:
1 parent
ad87df487b
commit
2585569984
5 files changed
+143
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user