Invoke-Automation icon indicating copy to clipboard operation
Invoke-Automation copied to clipboard

Imagebuilder Modules Issues

Open tommylee95 opened this issue 6 years ago • 4 comments

all Imagebuilder cmdlets are failing with the following error:

Get-EsxSoftwareDepot : The type initializer for 'VMware.ImageBuilder.Impl.IfServer' threw an exception. At line:1 char:1

  • Get-EsxSoftwareDepot
  •   + CategoryInfo          : NotSpecified: (:) [Get-EsxSoftwareDepot], TypeInitializationException
      + FullyQualifiedErrorId : System.TypeInitializationException,VMware.ImageBuilder.Commands.GetDepot
    
    

tommylee95 avatar Oct 04 '18 14:10 tommylee95

Help me out, not sure what code you are referencing here. Which repo is this in?

jpsider avatar Oct 04 '18 14:10 jpsider

It's throwing that error when running the container from your Windows Docker Image. Cmdlets are fine for the other modules except when running the Imagebuilder cmdlets (i.e.-add-esxsoftwaredepot). Are you seeing this on your end?

tommylee95 avatar Oct 04 '18 14:10 tommylee95

I haven't used those cmdlets before. Are you using the nano image or the full blown windows docker image?

jpsider avatar Oct 04 '18 15:10 jpsider

i'm using the full image. Can you try running those commands?

On Thu, Oct 4, 2018 at 11:32 AM Justin Sider [email protected] wrote:

I haven't used those cmdlets before. Are you using the nano image or the full blown windows docker image?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jpsider/Invoke-Automation/issues/14#issuecomment-427064315, or mute the thread https://github.com/notifications/unsubscribe-auth/Agb5FR011kIsuPRQU63dcRJFQyU5Ftc4ks5uhioXgaJpZM4XIL88 .

-- Thanks,

Tom Lee

tommylee95 avatar Oct 04 '18 16:10 tommylee95