On Mon, Apr 27, 2009 at 11:16:41AM -0400, Michael DeHaan wrote: > Christian Horn wrote: > > > > a) setting network-modes > > We run some network interfaces in 100full-mode and some in 1gbit mode. > > Wondering how to set this up best. The mode is unknown at the time > > 'cobbler system add' is done, so i do not wand to use ksopts handing > > over vars to a snippet configuring the mode. > > My idea for now is using ethtool to ask for interfaces current speed. > > If its 1gbit do nothing, if its autonegotiated to 100-half or 100-full i > > > > echo 'ETHTOOL_OPTS="speed 100 duplex full autoneg off"' \ > > >>/etc/sysconfig/network-scripts/ifcfg-eth$number > > > > to set the mode since if its 100 we run 100full by default. > > Any more cobblerish way for this yet? > > > > Seems like you would need to do this with Snippets and --ksmeta. > > Not sure with what you mean by "unknown at the time cobbler system add > is done", seems like that would be the best > place to mark it because after then you've already started the install.
The admin has no clue on how the switch is configured. We will just use the 90%-of-all-cases default and have to debug the other 10% manually. Christian _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
