On 10/17/2012 06:05 PM, James Cammarata wrote:
On Wed, Oct 17, 2012 at 4:57 PM, Orion Poplawski <[email protected]> wrote:
On 10/17/2012 03:50 PM, Nishanth Aravamudan wrote:
On 15.10.2012 [11:22:27 -0600], Orion Poplawski wrote:
Fedora 18 doesn't have ifconfig in the installer (and perhaps not in
installed system), need to use ip.

Did you ensure this works as expected on older Fedora too? Is it better
to use ifconfig when present (as it's tested) and switch to ip only when
ifconfig isn't there?

I have not tested on older Fedora, but you're using ip already to set the
route, so it is present.  And ip on RHEL5 has the -o option, so I think
shifting to ip is the way to go.  It's easier to parse.
The ip command has been around for a while, I've used it as early RHEL
4, so this change should work for just about any distro.
Did you use it in the installer? post_install_network_config snippet is run on installed system in chrooted environment, so it should not be a problem. However, pre_install_network_config is run inside of anaconda - we want to make sure it is available there for the versions that cobbler supports.

Leon
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to