diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2023-10-20 12:04:40 +0200 |
---|---|---|
committer | Jake Hunsaker <jacob.r.hunsaker@gmail.com> | 2023-10-25 07:24:24 -0700 |
commit | 48e3d0df6d7a2f92afc8a207313e4eb381b00396 (patch) | |
tree | 1b33d201bb66cc72ea7537ff69df4ee7c77a1cc0 | |
parent | ab36ea641f6c2145ef8a52dcb3e70abb5ee8e9b9 (diff) | |
download | sos-48e3d0df6d7a2f92afc8a207313e4eb381b00396.tar.gz |
[insights] collect recursive listing of three dirs
Resolves: #3391
Closes: #3390
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/report/plugins/insights.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/report/plugins/insights.py b/sos/report/plugins/insights.py index c2198fbb..1f7435b1 100644 --- a/sos/report/plugins/insights.py +++ b/sos/report/plugins/insights.py @@ -50,6 +50,9 @@ class RedHatInsights(Plugin, RedHatPlugin): timeout=30 ) + for _dir in ["/etc/rhsm", "/sys/kernel", "/var/lib/sss"]: + self.add_cmd_output(f"/bin/ls -lanR {_dir}", cmd_as_tag=True) + def postproc(self): for conf in self.config: self.do_file_sub( |