update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user