On Wed, Jun 03, 2009 at 01:14:11PM +0200, Tom Kleiberg wrote:
>
> Your fix brought me to another idea. I was thinking of, instead of
> using the ksmeta-vars parameter as you say, to use the bonding-opts
> parameter. This parameter you can set for each interface. i guess this
> should not make much fuss, as long as you are not using the interface
> in bonding mode. By means of some snippet, i can then parse the
> parameter and set ETHTOOL_OPTS.
> This may however only work when the bonding options are not placed
> inside /etc/modprobe,conf but in ifcfg-ethX ("BONDING_OPTS"). The
> snippet could then be as simple as just replacing BONDING_OPTS with
> ETHTOOL_OPTS. Would you agree with this quick-n-dirty fix?
Was also thinking on that. Reminds me of an internal feature-
request i have to work on of a collegue asking for the flexibility to
explicitly choose the interface-mode like static, dhcp or none.
Havent looked deeper, for now this is done implicitly;
none for bond-slaves, static/dhcp switched by static-boolean.
I think he cant state a valid usecase so i will just push him into
writing a custom snippet doing what he wants.
If many of such interface-based requests/needs come up a free-text
line could be interesting, kind of ksmeta-per-interface.
But right now i cant think of more possible per-interface-settings
so a proper solution for the ethtool parameters would be enough.
Christian
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler