mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 17:30:17 +01:00
Configuration can have [device*] and [connection*] settings and both
can include a 'match-device=' key, which is a list of device-specs.
Introduce a new 'allowed-connections' key for [device*] sections,
which specifies a list of connection-specs to indicate which
connections can be activated on the device.
With this, it becomes possible to have a device configuration like:
[device-enp1s0]
match-device=interface-name:enp1s0
allowed-connections=except:origin:nm-initrd-generator
so that NM in the real root ignores connections created by the
nm-initrd-generator, and starts activating a persistent
connection. This requires also setting 'keep-configuration=no' to not
generate an assumed connection.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| meson.build | ||
| nm-base.h | ||
| nm-config-base.h | ||
| nm-ethtool-base.c | ||
| nm-ethtool-base.h | ||
| nm-ethtool-utils-base.h | ||
| nm-net-aux.c | ||
| nm-net-aux.h | ||