Providing the way to upgrade, update or apply a patch to ESXi with esxcli command.
All commands in the below steps should be done in the target ESXi shell.
vim-cmd hostsvc/hostsummary |grep inMaintenanceMode
esxcli software sources profile list -d /vmfs/volumes/DATASTORE_NAME/OFFLINE_BUNDLE.zip
Name format | Profile name example | Explanation |
ESXi-#.#U#[a-z]-buildnumber-standard | ESXi-8.0U3b-24280767-standard | Security and Bugfix image with updates of VMware Tools imanges in ESXi host (most common) |
ESXi-#.#U#[a-z]-buildnumber-no-tools | ESXi-8.0U3b-24280767-no-tools | Security and Bugfix image without updates of VMware Tools images in ESXi host |
ESXi-#.#U#s[a-z]-buildnumber-standard | ESXi-8.0U3sb-24262298-standard | Security only image with updates of VMware Tools images in ESXi host |
ESXi-#.#U#s[a-z]-buildnumber-no-tools | ESXi-8.0U3sb-24262298-no-tools | Security only image without updates of VMware Tools images in ESXi host |
esxcli software profile update -d /vmfs/volumes/DATASTORE_NAME/OFFLINE_BUNDLE.zip -p PROFILE_NAME
reboot
For information about rollback, see Reverting to a previous version of ESXi 6.x, 7.x and 8.x
Note, the rollback by the above KB sometimes cannot be used in some enviromnents. See Cannot revert ESXi version when upgrading from 7.0 to 8.0
When you cannot use the rollback, you can still re-install the old ESXi version and restore the configuration from its backup taken in the preparation section.
For information about restoring the configuration, see How to back up and restore the ESXi host configuration