Skip to content

Commit

Permalink
[grub2] Capture /etc/grub2-efi.cfg
Browse files Browse the repository at this point in the history
sos report does not gather the symlink
/etc/grub2-efi.cfg when present.
If a system is legacy, but has this file,
grubby default to using this one first in
some cases. Therefore we need to know if
it's present or not.

Closes: RHBZ#2218563

Signed-off-by: Jose Castillo <[email protected]>
  • Loading branch information
jcastill authored and TurboTurtle committed Jun 29, 2023
1 parent 9b5d6ad commit 595497a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sos/report/plugins/grub2.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def setup(self):
"/boot/grub2/user.cfg",
"/etc/default/grub",
"/etc/grub2.cfg",
"/etc/grub.d"
"/etc/grub.d",
"/etc/grub2-efi.cfg"
])

self.add_cmd_output("ls -lanR /boot", tags="ls_boot")
Expand Down

0 comments on commit 595497a

Please sign in to comment.