Skip to content

Instantly share code, notes, and snippets.

@KimTholstorf
Last active February 12, 2022 02:07
Show Gist options
  • Save KimTholstorf/5952f1ed6df89130d6336c909ca8e99a to your computer and use it in GitHub Desktop.
Save KimTholstorf/5952f1ed6df89130d6336c909ca8e99a to your computer and use it in GitHub Desktop.
ESXi CLI online upgrade

Patch a ESXi host using an image profile from VMware's online depot directly from the ESXi shell.

Note: this will pull a default image containing only the default VIB/drivers. You need to use a diffrent method if e.g. pNIC drivers is needed from vendor.

  1. ssh to esxi server
  2. Open firewall for the httpClient to pull online esxcli network firewall ruleset set -e true -r httpClient
  3. (Optional) see version currently running esxcli software profile get
  4. get the list of image profiles esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
  5. Install image profile esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-7.0U3c-19193900-standard
  6. reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment