diff --git a/includes/post/grub-setup.ksi b/includes/post/grub-setup.ksi index 1d63c30..f32c377 100644 --- a/includes/post/grub-setup.ksi +++ b/includes/post/grub-setup.ksi @@ -12,4 +12,15 @@ else exit 1 fi +cat << EOF > /etc/sysconfig/kernel +# the latest kernel should be the first entry in the bootloader +# this should be the default, but here we are +UPDATEDEFAULT=yes + +# name of the package providing the kernel +DEFAULTKERNEL=kernel-core +EOF + +chmod 644 /etc/sysconfig/kernel + %end