update
This commit is contained in:
@@ -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