On 01/10/2011 05:44 PM, Chris Lumens wrote:
Sets DEFROUTE=no in ifcfg file.
---
isys/iface.c | 1 +
isys/iface.h | 1 +
loader/net.c | 12 +++++++++++-
3 files changed, 13 insertions(+), 1 deletions(-)
Do you really need the extra option, or can "DEFROUTE=no" be inferred by
"--bootproto=ibft"?
I am hesitating to infer too much in anaconda, if this should
be assumed, NM should do it when updating ifcfg file or
include it into routing policy for this (ibft) kind of devices.
Also the assumption may be not so simple (at least I don't
feel having enough knowledge to impose it) - can there
be configuration where one might want BOOTPROTO=ibft
and DEFROUTE=yes? In case of ibft being the only one device
used, will NM routing policy override DEFROUTE=no because
there is no other active device?
And starting to support more active devices in installer
(and maybe people starting to use it), the option may become
useful for other configurations. It is also present in nm-c-e as
"Routes..." -> "Use this connection only for resources on this network".
Thinking about it, maybe even more general ifcfgsettings= that would
add anything to ifcfg file would be the best.
Radek
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list