ESXi

 View Only
  • 1.  Auto Deploy strangeness

    Posted Jan 11, 2012 09:30 AM

    Hi Guys,

    I was playing around with auto deploy and came across a strange issue.

    I had 4 image profiles setup and when i ran the command get-esxprofileimages i could see these listed. After rebooting my auto deploy server and running the same command i dont have the image profiles listed.

    Is this normla i would expect to see them listed?

    Thanks

    Dougie



  • 2.  RE: Auto Deploy strangeness

    Posted Jan 11, 2012 03:01 PM

    1 In a PowerShell window, check whether any software depots are defined for the current session.

    $DefaultSoftwareDepots

    PowerShell returns the currently defined depots, or nothing if you just started PowerShell.

    2 If necessary, add the depot that includes the profile you want to clone to the current session.

    For remote depots, run Add-EsxSoftwareDepot -DepotUrl depot_url.

    For an offline depot ZIP file, you must download the ZIP file first.

    a Download the ZIP file to a local file path.

    b Run Add-EsxSoftwareDepot -DepotUrl C:\file_path\offline-bundle.zip

    PowerShell adds the specified depot to your current session and lists all current depots.

    3 Check the $DefaultSoftwareDepots variable, which now returns the newly-added depot.

    $DefaultSoftwareDepots

    4 Display all currently available image profiles.

    Get-EsxImageProfile