vmware / powerclicore

PowerCLI Core Dockerfile
Apache License 2.0
100 stars 47 forks source link

Pin powervRA to 2.1.0 #11

Closed bhundven closed 6 years ago

bhundven commented 7 years ago

powervRA updated to 2.2.0, and does not install properly:

PackageManagement\Install-Package : Package 'PowervRA' failed to be installed because: /tmp/1872588994/PowervRA/PowervRA.nuspec
At /opt/microsoft/powershell/6.0.0-alpha.18/Modules/PowerShellGet/1.1.2.0/PSModule.psm1:2089 char:20
+ ...           $sid = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (PowervRA:String) [Install-Package], Exception
    + FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

This commit pins powervRA to 2.1.0.

Signed-off-by: Bryan Hundven bryanhundven@gmail.com

vmwclabot commented 7 years ago

@bhundven, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

vmwclabot commented 7 years ago

@bhundven, VMware has approved your signed contributor license agreement.

jakerobinson commented 6 years ago

Dockerfile went through a complete rewrite for PowerShell 6.01 and PowerCLI 10. Closing this due to conflicts. Please resubmit if you find anything to change in the new Dockerfile!!

PowerVRA now installed via PSGallery!