Andy Gospodarek wrote: > On Tue, Jun 02, 2009 at 06:45:03PM +0200, Jasper Capel wrote: > >> On 06/02/2009 06:06 PM, Andy Gospodarek wrote: >> >>> That really only should be done for RHEL/CentOS4. Something like this >>> *might* fix it (I'm not that familiar with cobbler's code)? >>> >> Works just as well for RHEL5 for me, also with multiple bonds. Although >> it's not needed anymore for RHEL5, it doesn't seem to break things either. >> >> > > I realize you may try be to keeping distro-specific switches from being > all over the place, but it's really not needed. Bonding module options > in /etc/modprobe.conf are frowned upon in RHEL5. > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
The code could check against $os_version if defined and if it contains rhel, see if it's ">=5", and also not include that in Fedora, as we can assume any Fedora being deployed with bonding is /very likely/ to be implemented the same way as RHEL 5 seeing what RHEL 5 is based on (Fedora 6 or 7, IIRC). It would make the templates somewhat harder to read, but the users aren't going to need to see it... Perhaps part of the price of having so much automagic... --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
