From c53e6bfa4019bc2a081c81cb92c2177690575da2 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Jul 03 2014 15:11:29 +0000 Subject: modify SOURCE firstboot_kdump.py to include centos in EFI --- diff --git a/SOURCES/firstboot_kdump.py b/SOURCES/firstboot_kdump.py index 2bdec5b..e802884 100755 --- a/SOURCES/firstboot_kdump.py +++ b/SOURCES/firstboot_kdump.py @@ -57,10 +57,12 @@ class moduleClass(Module): # possible bootloaders we'll need to adjust # bootloader : (config file, kdump offset) bootloaders = { "grub" : (["/boot/grub/grub.conf", \ - "/boot/efi/EFI/redhat/grub.conf"], [16, 256]),\ + "/boot/efi/EFI/redhat/grub.conf", \ + "/boot/efi/EFI/centos/grub.conf"], [16, 256]),\ "grub2" : (["/boot/grub2/grub.cfg", \ "/boot/efi/EFI/fedora/grub.cfg", \ - "/boot/efi/EFI/redhat/grub.cfg"], [16, 256]),\ + "/boot/efi/EFI/redhat/grub.cfg", \ + "/boot/efi/EFI/centos/grub.cfg"], [16, 256]),\ "zipl" : (["/etc/zipl.conf"], [0]),\ "yaboot" : (["/boot/etc/yaboot.conf"], [32]) } bootloader = None