I recently spent some time trying to move our existing Ubuntu
kickstart into Cobbler. I was unpleasantly surprised to discover that
given a distribution with breed=ubuntu, Cobbler uses kernel options
appropriate to a legacy Debian style install...and there's no way to
override this behavior without modifying the code, since all the logic
is inside pxegen.py rather than in the template.
I've solved the problem for now by lying to Cobbler and setting
breed=redhat, but this makes life difficult in other ways: in order to
use the same basic kickstart between our RHEL and Ubuntu installs I
need to have "breed-specific" directives in the kickstart (e.g., on
the Ubuntu side I need several "preseed" statements to get a hands-off
install). I can mess about with mgmt_classes or use separate
kickstart files, but it's not quite as clean.
I'm planning on taking a closer look at the template generation in
pxegen.py and possibly proposing some changes to how this works.
Before going too far down that particular path I wanted to see if
anyone else was working on something similar, or if anyone had
thoughts on this issue they'd like to share.
Thanks,
-- Lars
Show replies by date