WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / Uncategorized / Quick Tip - Listing Image Profiles From an ESXi Patch Using ESXCLI

Quick Tip - Listing Image Profiles From an ESXi Patch Using ESXCLI

06.21.2013 by William Lam // 5 Comments

I was cleaning out a few of my to-do items (list just keeps getting longer everyday) this morning and there was a question that I received a few weeks back asking how to retrieve the list of Image Profiles for a given ESXi patch. This is actually quite easy and you will want to use ESXCLI.

Note: The examples shown below is using ESXCLI on the ESXi Shell, but these commands can be execute remotely as well using ESXCLI or through PowerCLI with Get-EsxCli cmdlet.

To list the available Image Profiles for an ESXi patch, run the following command (ensure you substitute the full path to your ESXi patch):

esxcli software sources profile list -d /vmfs/volumes/datastore1/ESXi510-201212001.zip

To get more details on a particular Image Profile, run the following command and specify the -p for the specific Image Profile:

esxcli software sources profile get -d /vmfs/volumes/datastore1/ESXi510-201212001.zip -p ESXi-5.1.0-20121204001-no-tools

To install/update a specific Image Profile, run the following command with the Image Profile name:

esxcli software profile update -d /vmfs/volumes/datastore1/ESXi510-201212001.zip -p ESXi-5.1.0-20121204001-no-tools

If you just want to install the ESXi patch, run the following command which will install the esx-base Image Profile by default which will include everything:

esxcli software vib update -d /vmfs/volumes/datastore1/ESXi510-201212001.zip

To check for the Image Profile you have installed on your ESXi host, run the following command:

esxcli software profile get

Here are some additional resources for ESXi patch management that may also be useful:

  • Quickest Way to Patch an ESX/ESXi Using the Command-line
  • Update a Host with Image Profiles
  • Understanding ESXi Patches - Size & Patch Bundles
  • A Pretty Cool Method of Upgrading to ESXi 5.1

More from my site

  • Creating Custom VIBs For ESXi 5.0 & 5.1 with VIB Author Fling
  • ESXi Advanced & Kernel Settings Reference
  • Neat way of installing or updating any VIB using just the ESXi Embedded Host Client
  • How to create a custom ESXi VIB to execute a script once?
  • ghettoVCB VIB & offline bundle for ESXi

Categories // Uncategorized Tags // esxcli, esxi, image profile, vib

Comments

  1. Eddy Chong says

    11/22/2016 at 12:02 am

    Hi William,

    I'm always confused with software vib update and software profile update and when to use them.

    “If you just want to install the ESXi patch, run the following command which will install the esx-base Image Profile by default which will include everything”

    Based on the above lines, it seems like i can always go with software vib update method am i right? May i know what is the situation that we want to update the image profile?

    My current ESXi 6.0 host showing (Updated) ESXi-6.0.0-2494585-standard while the version shown is 6.0.0 Update 2 (Build 4192238) which is bugging me.

    Thank you

    Reply
  2. Roger Fernandes says

    06/05/2019 at 6:53 pm

    Thank you so much for the beautiful article. It has helped me on many occasions 🙂

    Reply
  3. Nnaemeka Emejulu says

    03/03/2021 at 4:47 pm

    Excellent documentation. Thanks

    Reply

Trackbacks

  1. Quick Tip – Listing Image Profiles From an ESXi Patch Using ESXCLI – Jeff's Blog says:
    10/11/2016 at 7:56 pm

    […] Quick Tip – Listing Image Profiles From an ESXi Patch Using ESXCLI […]

    Reply
  2. Esxcli Software Profile Update » LoginCast.Com says:
    02/09/2021 at 4:11 am

    […] 4. Quick Tip – Listing Image Profiles From an ESXi Patch Using … […]

    Reply

Thanks for the comment! Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native technologies, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC)

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • vSphere with Tanzu using Intel Arc GPU 01/26/2023
  • Quick Tip - Automating allowed and not allowed Datastores for use with vSphere Cluster Services (vCLS) 01/25/2023
  • ESXi with Intel Arc 750 / 770 GPU 01/24/2023
  • How to bootstrap vSAN Express Storage Architecture (ESA) on unsupported hardware? 01/19/2023
  • Automating Virtual Machine screenshots in vSphere 01/18/2023

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2023