Add module to pwsh
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-01-02 10:52:29 +01:00
parent 6df7d2b26c
commit 1d643eb4ad

View File

@ -53,7 +53,7 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
pwsh -Command "Install-Module -Name 'VMware.PowerCLI' -Verbose" && \
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI' -Verbose" && \
sh /tmp/ovftool-installer --console --eulas-agreed --required && \
rm -f /tmp/ovftool-installer