This commit is contained in:
voltron committed 2024-01-22 23:03:11 -06:00
1 parent 4026d91af3
commit 8123fa8129
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
#/bin/sh
echo "Putting the Host into maintenance mode ..."
vim-cmd hostsvc/maintenance_mode_enter
#vim-cmd hostsvc/maintenance_mode_enter
esxcli system maintenanceMode set -e true -t 0 &
VMS=`vim-cmd vmsvc/getallvms | grep -v Vmid | awk '{print $1}'`
for VM in $VMS; do