use grubby to add a new boot entry

This commit is contained in:
Ray Strode 2007-06-08 15:44:54 -04:00
parent 6e65b02035
commit 36c3e8e2bd

View file

@ -46,3 +46,11 @@ TMPDIR="$(mktemp -d $PWD/initrd.XXXXXXXXXX)"
)
rm -rf "$TMPDIR"
CURRENT_KERNEL=$(/sbin/grubby --default-kernel)
/sbin/grubby --title="Graphical Bootup" \
--add-kernel="$CURRENT_KERNEL" \
--copy-default \
--args="vga=0x318 rhgb quiet" \
--initrd="$NEW_INITRD"