sbc-images/includes/post/grub-setup.ksi
2024-04-28 18:28:51 +05:30

15 lines
289 B
Plaintext

%post
set -x
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