Last active
October 28, 2021 03:42
-
-
Save jpluimers/ae6452f8acc22c8a4b37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# profile patches are cumulative: http://blogs.vmware.com/vsphere/2013/10/are-esxi-patches-cumulative.html | |
# favour update over install: http://www.v-front.de/2013/05/quickest-way-to-update-your-standalone.html | |
esxcli network firewall ruleset list | grep httpClient | |
# Enable http: | |
esxcli network firewall ruleset set -e true -r httpClient | |
# List updates: | |
esxcli software sources profile list --depot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | |
# Only relevant updates: | |
esxcli software sources profile list --depot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | sort | grep -w standard | grep "ESXi-5.1.0-20" | |
# Patch matrix in spreadsheet format: http://vibmatrix.v-front.de | |
# Update 1: | |
# esxcli software profile update --depot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml --profile ESXi-5.1.0-20130402001-standard | |
# Update 2: | |
# esxcli software profile update --depot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml --profile ESXi-5.1.0-20140102001-standard | |
# Latest (as of 20150802): | |
esxcli software profile update --depot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml --profile ESXi-5.1.0-20150304001-standard | |
# Disable http | |
esxcli network firewall ruleset set -e false -r httpClient | |
# | |
# esxcli software profile update --depot=<depot_location> --profile=<profile_name> | |
# | |
# http://vninja.net/vmware-2/quick-dirty-esxi-5-1u1-upgrade/ | |
# QUICK AND DIRTY ESXI 5.1U1 UPGRADE | |
# | |
# http://nieto-windows.blogspot.com/2014/11/easy-esxi-patching.html | |
# Easy Esxi patching | |
# | |
# Patches are cumulative; http://kb.vmware.com/kb/2020972 | |
# http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2020972 | |
# | |
# https://www.virten.net/vmware/vmware-esxi-image-profiles/ | |
# VMware ESXi Image Profiles | |
# Example – ESXi 5.5 Patch 2 contains 4 Image Profiles: | |
# - ESXi-5.5.0-20140704001-standard – Contains all patches | |
# - ESXi-5.5.0-20140704001-no-tools – Contains all patches but no VMware Tools | |
# - ESXi-5.5.0-20140701001s-standard – Contains security patches only | |
# - ESXi-5.5.0-20140701001s-no-tools – Contains security patches only and no VMware Tools | |
# | |
# Installing patches on an ESXi 5.x/6.x host from the command line (2008939); http://kb.vmware.com/kb/2008939 | |
# | |
# https://www.vmware.com/support/vsphere5/doc/vsphere-esxi-51u1-release-notes.html | |
# VMware ESXi 5.1 Update 1 Release Notes; VMware ESXi 5.1 Update1 | 25 APR 2013 | Build 1065491 | |
# VMware ESXi 5.1 Patch Image Profile ESXi-5.1.0-20130402001-standard (2041635); http://kb.vmware.com/kb/2041635 | |
# VMware ESXi 5.1, Patch ESXi510-Update01: VMware ESXi 5.1 Complete Update 1 (2041632); http://kb.vmware.com/kb/2041632 | |
# https://www.vmware.com/support/vsphere5/doc/vsphere-esxi-51u2-release-notes.html | |
# VMware ESXi 5.1 Update 2 Release Notes; VMware ESXi 5.1 Update 2 | 16 JAN 2014 | Build 1483097 | |
# VMware ESXi 5.1 Patch Image Profile ESXi-5.1.0-20140102001-standard (2062310); http://kb.vmware.com/kb/2062310 | |
# VMware ESXi 5.1, Patch ESXi510-Update02: ESXi 5.1 Complete Update 2 (2062314); http://kb.vmware.com/kb/2062314 | |
# http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014508 | |
# Correlating VMware products build numbers to update levels (1014508): | |
# ESXi 5.1 Update 1 2013-04-25 1065491 N/A | |
# ESXi 5.1 Update 2 2014-01-16 1483097 N/A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment