aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-05-15 15:04:21 -0400
committerPavel Moravec <pmoravec@redhat.com>2019-08-25 10:36:33 +0200
commit9a9ea5ee21df2759f46688d09c45ecd7a1a871a8 (patch)
tree447dc06c9a847fc940e1d6dc8ce641852dc73bf5
parentd1862e0f398ac5c2760e5eb2f444b781b9b04089 (diff)
downloadsos-9a9ea5ee21df2759f46688d09c45ecd7a1a871a8.tar.gz
[crio] Capture 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/crio.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/crio.py b/sos/plugins/crio.py
index f025d6db..8a469008 100644
--- a/sos/plugins/crio.py
+++ b/sos/plugins/crio.py
@@ -37,6 +37,13 @@ class CRIO(Plugin, RedHatPlugin, UbuntuPlugin):
"/etc/sysconfig/crio-*"
])
+ self.add_env_var([
+ 'HTTP_PROXY',
+ 'HTTPS_PROXY',
+ 'NO_PROXY',
+ 'ALL_PROXY'
+ ])
+
subcmds = [
'info',
'images',