Unable to update initramfs kernel image


I have created a custom raid array and updated the details in /etc/mdadm.conf file. But when trying to update the kernel image it is still fetching the old information.

dracut -f --kver 4.18.0-372.9.1.el8.x86_64

The file shows as updated

-rw-------  1 root root 32298687 May 13 17:03 initramfs-4.18.0-372.9.1.el8.x86_64.img

But while listing the details, it still fetches the old file

# lsinitrd initramfs-4.18.0-372.9.1.el8.x86_64.img | grep mdadm.conf
-rw-r--r--   1 root     root          234 Apr 18 18:54 etc/mdadm.conf

How can I update this?

Nathan G