Fedora 19 has no grub2 conf file.

This fixes ramdisk creation on Fedora 19.

Change-Id: Ica486473cecb93feac740ae905fba5f2a3723bc2
This commit is contained in:
Dan Prince 2013-09-16 12:18:49 -07:00
parent 9ba761ef27
commit 15007cc184

View file

@ -16,7 +16,9 @@ case $DISTRO in
[[ ! -d /boot/grub2 ]] && exit 0
echo 'GRUB_CMDLINE_LINUX="nomodeset vga=normal"' >/etc/default/grub
if [ -f /boot/grub2/grub.cfg ]; then
sed -i -e 's/terminal_output gfxterm/terminal_output console/' /boot/grub2/grub.cfg
fi
;;
esac