Skip to content

Commit

Permalink
[insights] collect recursive listing of three dirs
Browse files Browse the repository at this point in the history
Resolves: #3391
Closes: #3390

Signed-off-by: Pavel Moravec <[email protected]>
  • Loading branch information
pmoravec authored and TurboTurtle committed Oct 25, 2023
1 parent ab36ea6 commit 48e3d0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sos/report/plugins/insights.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def setup(self):
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(
Expand Down

0 comments on commit 48e3d0d

Please sign in to comment.