show newer kernel in grub lol

This commit is contained in:
Pratham Patel 2024-01-01 21:46:11 +05:30
parent 43a8f59a87
commit b15f56b83a
No known key found for this signature in database

View File

@ -12,4 +12,15 @@ else
exit 1 exit 1
fi 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 %end