I'm developing a custom udev rule something like this: For FAI Action install:
lspci -D | grep Ethernet | cut -d" " -f1 into /etc/udev/rules/70-my-persistent-net.rules: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNELS=="0000:03:00.0", NAME="eth0" I set the interface name by pci bus Reiner Schulz > -----Ursprüngliche Nachricht----- > Von: linux-fai [mailto:linux-fai-boun...@uni-koeln.de] Im Auftrag von > q...@vienna.at > Gesendet: Sonntag, 17. Juli 2016 10:01 > An: linux-fai@uni-koeln.de > Betreff: Re: example network script will misname interface if installing > stretch > > On Sat, Jul 16, 2016 at 02:18:25PM -0700, Ian Kelling wrote: > > Using jessie as the base os to install stretch. > > > > 30-interface will setup /etc/network/interfaces with > > something like eth0, and if you upgrade to stretch, > > it will reboot and eth0 is now named something like > > enp3s0f1. > > > > This was with version 5.0.3, so hopefully it's > > still current. > > And! > Not all programs accept other names than ethx.