diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-05-15 15:10:01 -0400 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2019-08-25 10:36:49 +0200 |
commit | 5d4321e80e53bc74c50dccad317cca8c07acb1bf (patch) | |
tree | b54952b390614fb0c752911438849fa74d2389d8 | |
parent | c9f19bbd444e5c5bb494fc97a2fe3ba1122ad9e0 (diff) | |
download | sos-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.py | 6 |
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' + ]) |