On Sat, 2020-03-07 at 11:47 +0100, Adrian Freihofer via networkmanager-
list wrote:
> Basically it already seems to work. But I will test it further.
> I'd like to know what, if anything, has to be changed for you to
> accept it.
>
> Usage example:
>
> [match]
> interface-name=eth0;
>
Add a new "driver" match option to nm-settings. It allows to disable a
network connection configuration if a pattern is found or is not found
in the device driver name.
---
clients/common/nm-meta-setting-desc.c | 45 +++
clients/common/settings-docs.h.in | 1 +
Basically it already seems to work. But I will test it further.
I'd like to know what, if anything, has to be changed for you to accept it.
Usage example:
[match]
interface-name=eth0;
driver=*virtio*;
kernel-command-line=!foo=bar;
Adrian Freihofer (2):
settings: add match for proc cmdline
Add a new "kernel-command-line" match option to nm-settings. It allows
to disable a network connection configuration if a pattern is found or
is not found in /proc/cmdline.
---
clients/common/nm-meta-setting-desc.c | 45 +++
clients/common/settings-docs.h.in | 1 +