For RHEL6 I'm trying to gain an understanding of controlling the building of "/boot/initramfs-<version>.img" in a cobbler install. (For RHEL5 folk, this is roughly analogous to "mkinitrd".)
Our ultimate aim is for the final system to have a slightly modified version of this "initramfs". At present, we do this after cobbler has already installed the system, by adding a file defining our modification into "/etc/dracut.conf.d", then running "dracut" and rebooting.
But it would be nice if we could do this earlier on, at the end of the cobbler installation itself.
I guess that the cobbler process already invokes "dracut" somehow. Is this correct? If so, then it might be possible for us to arrange delivery of our "/etc/dracut.conf.d" file during cobbler post-install, but before that dracut run occurs.
Hints and clues as to how cobbler controls dracut are welcome, please!
(By the way: cobbler version 2.0.11, if that makes a difference. Yes, I know, it's very old; we plan to update in a couple of months.)
-- David Lee
cobbler@lists.fedorahosted.org