[cobbler] Use ip instead of ifconfig

James Cammarata jimi at sngx.net
Sat Nov 3 03:09:27 UTC 2012


>> Found a small problem with this. Apparently despite the fact that the
>> OS has had the ip command for quite a while, it is not included even
>> in the F17 installer image. I've attached a patch which uses some bash
>> functions to figure out which command to use, and wraps the calls in a
>> nice way. If you could give it a little testing I'd appreciate it
>> (testing it out on f18 alpha now myself).
>>
>
> I guess that's what you get for assuming - I thought if the EL6 installer
> had it, Fedora would have, but there you go.
>
> One note - you are redirecting the output of the ip command, but not
> ifconfig.  Seems inconsistent.
>
> Anyways, works for me with F17 and F18.

Yeah definitely my bad for not checking the installer had it. Anyway,
my signature branch now has full support for F18 in it, and it's
importing and building systems successfully using the beta TC6 ISO:

https://github.com/jimi1283/cobbler/tree/signature
http://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/iso/

There are still a ton of issues with F18 in general though. Just found
out tonight that they're doing away with the base comps group, so the
sample_end.ks is basically an extremely minimal install that's missing
a LOT of stuff.


More information about the cobbler mailing list