VMware Cloud Community
tdubb123
Expert
Expert

postinstall esxupdate not working

I got these commands in my post install script but esxupdate is not updating the server

vimsh -n -e /hostsvc/maintenance_mode_enter
vimsh -n -e /hostsvc/maintenance_mode_exit
shutdown -r now
~
0 Kudos
4 Replies
tdubb123
Expert
Expert

any idea on this?

#vim-cmd /hostsvc/maintenance_mode_enter
#vim-cmd /hostsvc/maintenance_mode_exit

It keeps going in a loop reboots but does not get patched

0 Kudos
DSTAVERT
Immortal
Immortal

What happens with a manual run of the command sequence in a shell script.

-- David -- VMware Communities Moderator
0 Kudos
tdubb123
Expert
Expert

its runs just fine.

when i put it in my post_install script it keeps rebooting and never gers patched.

0 Kudos
tdubb123
Expert
Expert

I think this problem has been solved from this thread

http://communities.vmware.com/message/1609011#1609011

I am still puzzled on what exactly caused the loop reboot from esxupdates

0 Kudos