FAI with pre-release bullseye yielding inconsistent network names
Steffen Grunewald
steffen.grunewald at aei.mpg.de
Fri Jan 15 09:42:53 CET 2021
On Thu, 2021-01-14 at 12:19:30 -0800, fai1107 at macrotex.net wrote:
> I am attempting to build Debian "bullseye/sid" (pre-release bullseye) using
> FAI 5.9.4. The network interface names come out being inconsistet,
>
> In /sys/class/net I see
>
> lo
> ens192
>
> but in /etc/network/interfaces.d I see
>
> lo
> enp11s0
>
> ------
>
> Here is (some of) the output of "udevadm test /sys/class/net/ens192":
>
> INTERFACE=ens192
> IFINDEX=2
> ID_NET_NAMING_SCHEME=v247
> ID_NET_NAME_PATH=enp11s0
> ID_NET_NAME_SLOT=ens192
> ...
> ID_NET_NAME=ens192
>
> So, something in the FAI build process thought the name was "enp11s0" and
> created the file with that name in /etc/network/interfaces.d.
>
> Any suggestions?
In the class/ stage, I create an udev rule that falls back to the old
interface names.
Since I usually perform a "sysinfo" run first, this rule can get merged
into the config tree in time before the installation.
I know that's deprecated but it's least surprising (at least to me).
- S
More information about the linux-fai
mailing list