Re: How to skip question "what eth to use?"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Feb 2004 bdoctor@xxxxxxxxx wrote:

> I don't believe you can do what you want to do in this manner.  However,
> you can modify the file network.py on line 155 (or so) to read this:
> 
>             if dev != "lo" and dev == "eth0" and not self.netdevices.has_key(dev):
> 
> And that will accomplish what you want.  You will need to rebuild the stage2
> installer image and replace the stock one with this change.  Not elegant or
> anything, but highly effective.

You are making this too hard. As I replied previously this can easially be
done without modifying the src. Depending on the vedrsion of RHL you are
talking about there are a couple of options. The first option is to specify
ksdevice=eth0 on the kernel boot line. AFAIK this works from 7.x on up to the
present. If we are talking about RHL9, RHEL3 or fedora is to use ksdevice=link.
Both work. No src modifications necessary.

HTH,

Tom




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux