Add peltool command in FFDC collection list
Refer peltool:
-a Display all PELs
-l List PELs
Change-Id: I144eef2d3a4b1d1684cdcc3ba5899beeb00c6cd7
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index 3edb3e2..cb86479 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -46,9 +46,10 @@
'BMC_meminfo': 'cat /proc/meminfo >/tmp/BMC_meminfo.txt 2>&1',
'BMC_systemd': 'systemctl status --all >/tmp/BMC_systemd.txt 2>&1',
'BMC_obmc_console': 'cat /var/log/obmc-console.log >/tmp/BMC_obmc_console.txt 2>&1',
+ 'PEL_logs': '{ peltool -l; peltool -a ; } >/tmp/PEL_logs.txt 2>&1',
},
}
-# Add file name and correcponding command needed for all Linux distributions
+# Add file name and corresponding command needed for all Linux distributions
FFDC_OS_ALL_DISTROS_FILE = {
'OS FILES':
{