Re: kickstart boot option to rule the Network card name to eth0

Jeff Wells <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CCD25AED.27301%[email protected]>

On 11/21/12 9:53 AM, "James Cammarata" <[email protected]> wrote:

>On Wed, Nov 21, 2012 at 9:25 AM, Rangsan A <[email protected]> wrote:
>> Hi Kickstart Expertise,
>>
>> How can I use udev rules to manage the nic naming at the first time
>>anaconda
>> start asking for the nic that will be use for load the OS image.
>>
>> I use ksdevice=<Mac Address> at the boot option. and it is detected as
>> "eth4" while the os is install.  Is there any way to rename it to
>>"eth0" ?
>>
>> For the SLES, they has kernel boot option
>> udev.rule="mac=00:1a:64:bd:13:86,name=eth0". Is there any equivalent
>>option
>> for REDHAT ?
>
>Add biosdevname=0 to your boot options and things will revert to the
>old naming scheme.

biosdevname=0 will keep the naming scheme eth* instead of em* but will not
address the NIC swapping.

>
>_______________________________________________
>Kickstart-list mailing list
>[email protected]
>https://www.redhat.com/mailman/listinfo/kickstart-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.