diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-05-15 15:05:16 -0400 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2019-08-25 10:36:42 +0200 |
commit | b7a00256c0b28425986e945b1cff87ac9ceb8b85 (patch) | |
tree | 6fb77abfd1e1b98d30855942ab73593c625b32c4 | |
parent | da5498eccc13a855eb34bb2f44ff1c6357a11534 (diff) | |
download | sos-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.py | 7 |
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', |