grub2 fix in firstboot

Resolves: bz805782

Update to use grub2, also update the config file names

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
Dave Young 2012-08-09 10:22:50 +08:00
parent 2b11d78e2e
commit 36ece6081d
1 changed files with 2 additions and 0 deletions

View File

@ -55,8 +55,10 @@ class moduleClass(Module):
reboot = False
# possible bootloaders we'll need to adjust
# todo: f18 grub2 for efi
# bootloader : (config file, kdump offset)
bootloaders = { "grub" : (["/boot/grub/grub.conf", "/boot/efi/EFI/redhat/grub.conf"], [16, 256]),
"grub2" : (["/boot/grub2/grub.cfg"], [16, 256]),
"yaboot" : (["/boot/etc/yaboot.conf"], [32]),
"elilo" : (["/boot/efi/EFI/redhat/elilo.conf"], [256]) }
bootloader = None