20.01.2017 17:51, Patrick Schleizer пишет:
> Hi,
> 
> I've learned about the kernel parameter and symlink ways to disable
> predictable network interface names. However, as a Debian derivative, it
> would be much cleaner using a drop-in to disable it.
> 
> Is there some drop-in directory foo.service.d that can be used to
> disable it?
> 

You may try to override 99-default.link with

[Link]
NamePolicy=

As I understand, having another file earlier in sorting order should do
it as well.

This should effectively disable name generation. Unfortunately, as
opposed to units, it is not possible to selectively override specific
key - first matching rule file is used entirely. This could lead to
missing changes in default link file on updates.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to