Greetings,
I'm sending 2 patches for review. These patches were applied to git 'master'
branch. I have tested both using installs for Fedora 14 Alpha. However, more testing
would be appreciated on the shlex.split() patch.
The first patch updates cobbler/codes.py to add support for installing 'fedora14'
The second patch updates koan/app.py to use shlex.split() instead of the string.split()
method. I use write and maintain python scripts that use pykickstart to output valid
kickstart files. Pykickstart writes the url line as follows ...
url --url="http://example.org/path/to/install"
As a result, the quotes around the URL were confusing cobbler and causing it to fail while
attempting to find the kernel and initrd. It was attempting to download from
"http://example.org/path/to/install"/images/pxeboot/vmlinuz. To confirm the
pykickstart behavior, take a look at line #121 in pykickstart/commands/method.py [1]. The
attached patch uses shlex.split() to properly handle the quotes. There may be a better
way to handle this, but I found this worked.
Comments welcome.
Thanks,
James
[1]
http://git.fedorahosted.org/git/?p=pykickstart.git;a=blob;f=pykickstart/c...