Patching ESXi hosts from VMware online repository

Patching VMware Hosts

Turn on SSH on host
hightlight host -> configuration -> Security Profile -> Properties -> SSH -> Options -> Service commands -> Start

Verify Virtual Machine Startup and Shutdown
hightlight host -> configuration -> Virtual Machine Startup and Shutdown -> Properties ->  Move Up to Automatic Startup

Using putty ssh to host
ssh  <hostname>

Note ESXi must have https internet access

Opens firewall
esxcli network firewall ruleset set -e true -r httpClient

Finds updates
esxcli software sources profile list -d | grep -i ESXi-6.5.0-2018

Installs update
esxcli software profile update -p ESXi-6.5.0-20180304001-standard -d

Installs clean
esxcli software profile install -p ESXi-6.5.0-201803001-standard  -d --ok-to-remove

Removes dependancy VIB
esxcli software vib remove -n net-mst

Have more questions? Submit a request


Please sign in to leave a comment.