Site icon mulcas

Upgrade from ESXi 6.7 to ESXi 6.7 U2 via CLI and without ISO file

Upgrade to ESXi 6.7 U2

What:

Upgrade from ESXi 6.7 to ESXi 6.7 U2 without the need of downloading the ISO file. Every vSphere release comes with a number of patches, fixes and new features that are important to keep the harmony of your infrastructure.

This specific method is useful for testing environments, where a single or few ESXi has been deployed. Also, in the remote case that you don’t have or remember your VMware account.

To upgrade to the new ESXi version downloading the ISO file, follow my previous blog post. Just select the right patch - ESXi 6.7 U2. You must log in with your VMware account.

What's New

Prerequisites:

How:

  1. Connect to your host using SSH terminal. You can use Putty, I like to use WinSSHTerm. Follow the instruction, type (copy and paste) the commands below.
  2. Check your current version to make sure you have ESXi 6.7 or ESXi 6.7 U1 version.
Vmware -vl
  1. Put your host in maintenance mode.
esxcli system maintenanceMode set –enable true
  1. Create a new firewall rule to open outgoing HTTP requests:
esxcli network firewall ruleset set -e true -r httpClient
  1. Type the following command to download and upgrade to ESXi 6.7 U2
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20190402001-standard
  1. After the upgrade is completed disable the firewall rule.
esxcli network firewall ruleset set -e false -r httpClient
  1. Restart your host.
reboot

After booting, confirm the new version.

Reference:

VMware ESXi 6.7 Update 2 Release Notes

Exit mobile version