Re: Updating network file during boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 22 Aug 2024 at 19:07, Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:
On 22.08.2024 16:56, Henti Smith wrote:
> I've switched to using "Property=" as follows:
>      # Fixed MAC and name for enp6s0 (Block Diagram) when debug board is not
> plugged in
>      # Renamed to mvc-sw2 by PCI Address.
>      [Match]
>
> Property=DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:05:00.0/net/enp5s0
>
>      [Link]
>      MACAddress=02:00:00:00:06:00
>      Name=mvc-sw2
>
> However this is also inconsistent:

What systemd version?


Ubuntu focal : 245.4-4ubuntu3.23
 
We will be moving to Jammy in the near future.

I'm going to attempt using UDEV for device naming again and see if I can find a way to stop systemd from renaming devices, which is what happened before.

If there are any pointers on using either exclusively UDEV or link files to manage device naming without them UDEV and systemd clobbering each other, it will be very welcome.

Henti

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux