Skip to content

Commit

Permalink
Revert "chore: remove unused spec lsinitrd_kdump_image (#3644)" (#3840)
Browse files Browse the repository at this point in the history
This reverts commit 5b80bda.

Signed-off-by: Xiaoxue Wang <xiaoxwan@redhat.com>
(cherry picked from commit 7b16e55)
  • Loading branch information
JoySnow authored and xiangce committed Jul 6, 2023
1 parent 1803337 commit a06faa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion insights/specs/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
machine_ids, md5chk, package_provides, ps as ps_datasource, sap,
satellite_missed_queues, semanage, ssl_certificate, sys_fs_cgroup_memory,
sys_fs_cgroup_memory_tasks_number, rpm_pkgs, user_group, yum_updates,
luks_devices)
luks_devices, kernel)
from insights.specs.datasources.sap import sap_hana_sid, sap_hana_sid_SID_nr
from insights.specs.datasources.pcp import pcp_enabled, pmlog_summary_args
from insights.specs.datasources.container import running_rhel_containers, containers_inspect
Expand Down Expand Up @@ -380,6 +380,7 @@ class DefaultSpecs(Specs):
lsblk = simple_command("/bin/lsblk")
lsblk_pairs = simple_command("/bin/lsblk -P -o NAME,KNAME,MAJ:MIN,FSTYPE,MOUNTPOINT,LABEL,UUID,RA,RO,RM,MODEL,SIZE,STATE,OWNER,GROUP,MODE,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED,RQ-SIZE,TYPE,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO")
lscpu = simple_command("/usr/bin/lscpu")
lsinitrd_kdump_image = command_with_args("/usr/bin/lsinitrd -k %skdump", kernel.current_version)
lsmod = simple_command("/sbin/lsmod")
lsof = first_of([
simple_command("/usr/bin/lsof"),
Expand Down

0 comments on commit a06faa3

Please sign in to comment.