Vmware

From Secure Computing Wiki
Revision as of 10:38, 29 November 2016 by Ecrist (Talk | contribs) (Created page with "== Update ESXi Appliance == <ol> <li>SSH to VMware host you wish to update <li>Enable outbound access for the VMware internal firewall <pre>[root@vmware3:~] esxcli network fir...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Update ESXi Appliance

  1. SSH to VMware host you wish to update
  2. Enable outbound access for the VMware internal firewall
    [root@vmware3:~] esxcli network firewall ruleset set -e true -r httpClient
  3. Run the following command to pull a list of software profiles:
    [root@vmware3:~] esxcli software sources profile list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
  4. Run the following command, with the profile you desire from the list above to update the system:
    [root@vmware3:~] esxcli software profile update --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.0.0-20161104001-standard
    • Note: Reboot the system twice for the full update to take place.

    When there are no additional updates installed, the output messages will contain the following along with a list of installed, skipped, and removed packages:

    Update Result
       Message: Host is not changed.
       Reboot Required: false
    
  5. Reset the firewall back to original settings:
    [root@vmware3:~] esxcli network firewall ruleset set -e false -r httpClient