aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-05-15 15:10:01 -0400
committerPavel Moravec <pmoravec@redhat.com>2019-08-25 10:36:49 +0200
commit5d4321e80e53bc74c50dccad317cca8c07acb1bf (patch)
treeb54952b390614fb0c752911438849fa74d2389d8
parentc9f19bbd444e5c5bb494fc97a2fe3ba1122ad9e0 (diff)
downloadsos-5d4321e80e53bc74c50dccad317cca8c07acb1bf.tar.gz
[host] Add collection of environment variables
Adds collection of common environment variables relevant to support cases surrounding shell issues. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/host.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sos/plugins/host.py b/sos/plugins/host.py
index 5aaa2d16..8caeae0b 100644
--- a/sos/plugins/host.py
+++ b/sos/plugins/host.py
@@ -33,3 +33,9 @@ class Host(Plugin, RedHatPlugin, DebianPlugin):
'/etc/sos.conf',
'/etc/hostid',
])
+
+ self.add_env_var([
+ 'REMOTEHOST',
+ 'TERM',
+ 'COLORTERM'
+ ])