Preemptively disable CEIP prompt
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-01-04 22:06:43 +01:00
parent 6810eb0cfa
commit 23bbce6b40

View File

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