Network interface names

Andreas Heinlein aheinlein at gmx.com
Mon Oct 15 08:34:39 CEST 2018


Am 12.10.2018 um 17:09 schrieb Steffen Grunewald:
> Hi,
>
> I've learned that I may "fix" the device interface names using a rules file
> in /etc/udev/rules.d, to avoid susprises after the installation.
> While adding some special parameters to the kernel command line didn't work,
> udev does its job reliably outside of FAI.
> What I still haven't found is which magic FAI uses to avoid the renaming
> to "predictable network interface names" (a term that's completely misleading
> to me as I'm unable to predict the network names if I'm given a brand-new
> machine). Thomas, can you shed some light on this?
> My plan is to read the (old-style) interface names assigned by FAI, then
> create a $target/etc/udev/rules.d/70-persistent-net.rules file from that
> information. Is there a hidden trap? When is it best to write that file?
>
> Thanks,
>  Steffen
Hello,

probably not exactly what you were asking, but you can turn off
"predictable network interface names" by adding "net.ifnames=0" to the
kernel command line, e.g. in /etc/default/grub (add it to
GRUB_CMDLINE_LINUX_DEFAULT).

Bye,
Andreas


More information about the linux-fai mailing list