aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkshay Gaikwad <akgaikwad001@gmail.com>2020-12-30 11:18:52 +0530
committerJake Hunsaker <jhunsake@redhat.com>2021-01-04 12:53:27 -0500
commit959c5a4a78c797dc68206aff21e2eba63e99bb18 (patch)
treed3a505ccf6d5db9c0fd7c46be279b1ed6dddb6d0
parent05c94ea7681a763cf17f57a11a0b50948b98f824 (diff)
downloadsos-959c5a4a78c797dc68206aff21e2eba63e99bb18.tar.gz
[boot] Add ls /sys/firmware command output
"ls /sys/firmware" command is useful to check if system boots with UEFI or BIOS. Resolves: #2353 Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/boot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/boot.py b/sos/report/plugins/boot.py
index a79d1c6c..d9995c2b 100644
--- a/sos/report/plugins/boot.py
+++ b/sos/report/plugins/boot.py
@@ -33,7 +33,8 @@ class Boot(Plugin, IndependentPlugin):
])
self.add_cmd_output([
"ls -lanR /boot",
- "lsinitrd"
+ "lsinitrd",
+ "ls -lanR /sys/firmware",
])
self.add_cmd_output([