Thanks for your quick reply!

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?

thanks

tom




On Jun 3, 2009, at 12:44 PM, Christian Horn wrote:

> On Wed, Jun 03, 2009 at 12:31:40PM +0200, Tom Kleiberg wrote:
>>
>> I am trying to force the ethernet-card settings on my FC8 machines.
>> One way of doing this is to use the ifcfg-ethX scripts
>> (see 
>> http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html)
>> .
>> This requires that an extra parameter is added to these scripts,
>> namely ETHTOOL_OPTS.
>
> For this i use ksmeta-vars eth0force100full, eth1force100full
> etc. which are checked by a snippet and appropriate line is
> inserted into the network-device configfile.
>
> Not optimal solution, also i am checking for each ethX-inter-
> face literally and couldnt get a 'for i in ethXforce100full'-
> line to work.
>
>
> Christian
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler

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

Reply via email to