anyone have any thoughts I am using dracut to build a init on ubuntu but when I update it overrides it. Any idea's on how to keep the config after a update?
I am running dracut -f --kernel-cmdline "ip="

Is there another way to keep the info after ubuntu re-creates initrd?


@omnipotens I don't know Ubuntu, but it looks like you're attempting to add values to the kernel command line. Why not add it to your /etc/default/grub file for grub to append it?

@ozoned because i am trying to install clevis and the default init break's luks and vlevis

@omnipotens wrap your install binary in a shell script to check for new kernels and if you get a new kernel run your dracut line. Then can the Shell script for updates instead?

Sign in to participate in the conversation

Linux Geeks doing what Linux Geeks do..