Kickstart rocky 9 issue (dnf update)

In my Rocky8 kickstart file towards the end of the post installation I run “dnf update -y”
Everything peachy there. It updates from the public repos, it reboots, all good to go.

When I do the same in Rocky9, there is an issue for me with the kernel update.
It takes the boot parameters I used for kickstarting e.g. inst.ks=http://kickstart.local/ks.cfg and so on and puts them in the loader .conf files for that new kernel.

A quick workaround is to boot on the original kernel and run “dnf reinstall kernel*” or to update manually later I guess.

So this is in /boot/loader/entries for the kernel update

title Rocky Linux (5.14.0-70.17.1.el9_0.x86_64) 9.0 (Blue Onyx)
version 5.14.0-70.17.1.el9_0.x86_64
linux /vmlinuz-5.14.0-70.17.1.el9_0.x86_64
initrd /initramfs-5.14.0-70.17.1.el9_0.x86_64.img
options inst.stage2=hd:LABEL=Rocky-9-0-x86_64-dvd linux inst.text ip= nameserver= nameserver= inst.ks=http://kickstart.local/ks/rocky9.ks crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
grub_users $grub_users
grub_arg --unrestricted
grub_class rocky

Its driving me nuts :smile: any pointers anyone?