From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: Re: Issues with dracut and network device naming Date: Mon, 31 Aug 2009 13:20:38 +0200 Message-ID: <4A9BB206.4050609@redhat.com> References: <4A97CA1A.5080606@redhat.com> <4A97D0F9.9020302@redhat.com> <4A97D17F.10405@bfh.ch> <4A97E6CA.2020200@redhat.com> <4A97F6E6.4040206@bfh.ch> Reply-To: Discussion of Development and Customization of the Red Hat Linux Installer Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A97F6E6.4040206@bfh.ch> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: anaconda-devel-list-bounces@redhat.com Errors-To: anaconda-devel-list-bounces@redhat.com Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Seewer Philippe Cc: initramfs , Discussion of Development and Customization of the Red Hat Linux Installer , Harald Hoyer Hi, On 08/28/2009 05:25 PM, Seewer Philippe wrote: > > > Hans de Goede wrote: >> Hi, >> >> On 08/28/2009 02:45 PM, Seewer Philippe wrote: >>> >>> Harald Hoyer wrote: >>> [snip] >>>>> So I would like to propose another solution for this, allow specifying >>>>> both an interface-name and a mac with ip=, and then have the dracut >>>>> generated rules do the rename and init. This way problems 3) and 4) >>>>> above are solved, and we can easily also write the mac address to >>>>> grub.conf from anaconda when generating the ip= cmdline. >>>> yes, sane solution .. +1 >>> Yes, +1 as well. I'd vote for not doing this inside the ip= parameter, >>> but use something like ifname=iface:mac. >>> >> >> Hmm, I'm not so sure about that, it sure would be easier for the genrules >> script to have all the info in one place, instead of having to piece >> bits together. > > Yes. But I think from a user's point of view, the ip= argument is > already overloaded. ifname= (or whatever) would be much clearer and easier. > See my relpy to Jon Masters mail about there in the future potentially being other unique identifiers to persistenly name a NIC, given this I'm going to implement a ifname=eth0: syntax, where for now the unique id will be a mac, but this way we can easily use other unique-id strings in the future (much more easily then when we put everything in the ip= syntax) Regards, Hans