sbc-images/includes/post/grub-setup.ksi

15 lines
289 B
Plaintext
Raw Permalink Normal View History

2023-09-14 05:50:36 +00:00
%post
set -x
2024-01-01 16:16:11 +00:00
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
2023-09-14 05:50:36 +00:00
%end