Skip to content

Instantly share code, notes, and snippets.

@noslin005
Last active January 6, 2022 13:08
Show Gist options
  • Save noslin005/538f98449449a6bb24626280a51c83fe to your computer and use it in GitHub Desktop.
Save noslin005/538f98449449a6bb24626280a51c83fe to your computer and use it in GitHub Desktop.
Update ESXi
esxcli network firewall ruleset set -e true -r httpClient
vim-cmd /hostsvc/maintenance_mode_enter
# esxi 6
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20200604001-standard

# esxi 7.u2
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-7.0U2a-17867351-standard

vim-cmd /hostsvc/maintenance_mode_exit
rm -rf /var/log/auth.log /var/log/shell.log /.ash_history && exit
ESXi Patch Release:
  1. https://docs.vmware.com/en/VMware-vSphere/6.7/rn/esxi670-202008001.html
  2. https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-esxi-70u2a-release-notes.html
  3. https://customerconnect.vmware.com/patch
Source:
  1. https://kb.vmware.com/s/article/2008939
  2. https://docs.vmware.com/en/VMware-vSphere/6.7/rn/esxi670-202006001.html
  3. https://www.virtualizationhowto.com/2019/04/upgrade-to-vmware-vsphere-esxi-6-7-update-2-with-command-line/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment