From 23bbce6b40884f320d7f3bddf245cfcfe6b6300e Mon Sep 17 00:00:00 2001 From: djpbessems Date: Mon, 4 Jan 2021 22:06:43 +0100 Subject: [PATCH] Preemptively disable CEIP prompt --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 3a68e41..55e7041 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,6 +56,7 @@ RUN dpkg -i /tmp/packages-microsoft-prod.deb && \ rm -rf /var/lib/apt/lists/* && \ pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -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 && \ rm -f /tmp/ovftool-installer