- Make sure SSH is enabled on the host.
- Put the host in maintenance mode.
- Enable firewall rule for web traffic.
esxcli network firewall ruleset set -e true -r httpClient
- Check the current ESXi build and version.
esxcli system version get
- Check you internet connection.
vmkping 8.8.8.8
- List all available profiles in the VMware online repo.
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
filter the list with grep:
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7.*standard
- Apply the selected profile from the VMware online repo.
esxcli software profile update -p <profile-name> -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
- Reboot the host.
Troubleshooting
- To resolve package dependency errors, remove VIBs:
esxcli software vib remove -n <VIB name>
- To resolve package signing errors, add –no-sig-check to the end of your command in step #7.