Update Esxi

In file /etc/hosts , add the corresponding ip/url (checking if the IP and url didn’t change since the exemple) (4/4/2017) :

23.64.36.210    http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
23.64.36.210    https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
23.64.36.210    hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli network firewall ruleset set -e=true -r=httpClient  
esxcli software profile update -p  ESXi-6.5.0-20170304101-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.5  

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep  ESXi-6.5.0-20170304101-  
ESXi-6.5.0-20170304101-no-tools   VMware, Inc.  PartnerSupported  
ESXi-6.5.0-20170304101-standard   VMware, Inc.  PartnerSupported  

esxcli software profile update -p ESXi-6.5.0-20170304101-no-tools -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml