Skip to content

Commit 24cf599

Browse files
florindragosdavejrt
authored andcommitted
Do not load powershell profiles (#396)
1 parent 997032e commit 24cf599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/facter/docker.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
end
3333

3434
docker_command = if Facter.value(:kernel) == 'windows'
35-
'powershell -c docker'
35+
'powershell -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -c docker'
3636
else
3737
'docker'
3838
end

0 commit comments

Comments
 (0)