cobbler/cobbler — pull request #397 by shibz (2013-01-23 20:09:51+00:00)
Title: Allow ks.cfg to be embedded in initrd file on RHEL6 when kickstarting with static IP

This patch fixes a bug where RHEL6 based systems wouldn't embed the ks.cfg file into the initrd image when booting with a static IP address. This fix aligns RH6 functionality with that of RH5.

The two changes made were to allow the app.py script to properly decompress the RHEL6 initrd file which is now compressed using xz --format=lzma rather than simple gzip.

Additionally, there was a check (written back in 2009 before RHEL6 was released) that limits the rebuilding of the initrd file to RHEL5 and below only. I bumped the version number up to include RHEL6. This same check also limits fedora to version 10, but since I don't have any Fedora clients to play with, I left that as is.