interface renaming

Josef Wolf jw at raven.inka.de
Sat Jul 30 14:36:04 UTC 2016


On Sat, Jul 30, 2016 at 10:15:12AM -0400, Rashkae wrote:
> In the same link, there is documented a new file format to achieve
> the same result, persistent device names that are easy for humans to
> remember/understand, and based on MAC address, (if that works better
> for you than PCI slot addresses.)
> 
> [Match]
> MACAddress=00:a0:de:63:7a:e6
> 
> [Link]
> Name=lan0
> 
> Wow.. that is *so* much worse than the udev file example you
> posted!!!,, err, wait, actually, that's kind of of easy and simple.

So the question maybe boils down to: why don't distro's use this to
create human-usable interface names?

> Maybe what people here really want is a script that creates these
> /etc/systemd/network/*.link files automagically when a new interface
> is detected.

Not only for new devices, but also from the very first start when
installing.

Renaming interfaces at a later time creates a new can of worms.

-- 
Josef Wolf
jw at raven.inka.de



More information about the ubuntu-users mailing list