aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-05-15 15:05:16 -0400
committerPavel Moravec <pmoravec@redhat.com>2019-08-25 10:36:42 +0200
commitb7a00256c0b28425986e945b1cff87ac9ceb8b85 (patch)
tree6fb77abfd1e1b98d30855942ab73593c625b32c4
parentda5498eccc13a855eb34bb2f44ff1c6357a11534 (diff)
downloadsos-b7a00256c0b28425986e945b1cff87ac9ceb8b85.tar.gz
[podman] Collect proxy env vars
Adds collection of proxy environment variables. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/podman.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/podman.py b/sos/plugins/podman.py
index cbf7669c..63363e33 100644
--- a/sos/plugins/podman.py
+++ b/sos/plugins/podman.py
@@ -36,6 +36,13 @@ class Podman(Plugin, RedHatPlugin, UbuntuPlugin):
"/etc/containers/policy.json",
])
+ self.add_env_var([
+ 'HTTP_PROXY',
+ 'HTTPS_PROXY',
+ 'NO_PROXY',
+ 'ALL_PROXY'
+ ])
+
subcmds = [
'info',
'images',