Skip to content

Commit 875ce7b

Browse files
committed
Install sosreport package
Install the required packages for collecting sosreport Signed-off-by: Vaishnavi Bhat <[email protected]>
1 parent 0296a44 commit 875ce7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/OpTestUtil.py

+1
Original file line numberDiff line numberDiff line change
@@ -2191,6 +2191,7 @@ def __gather_os_command_logs(self, list_of_commands=[], collect_sosreport=False,
21912191

21922192
if collect_sosreport:
21932193
if 'rhel' in self.distro_name():
2194+
host.host_run_command("yum install sos -y")
21942195
cmd = 'yes "" | sosreport'
21952196
str_msg = "Your sosreport has been generated and saved in:"
21962197
elif 'sles' in self.distro_name():

0 commit comments

Comments
 (0)