mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 20:00:09 +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. |
||
|---|---|---|
| .. | ||
| 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 | ||
| nm-sudo-utils.c | ||
| nm-sudo-utils.h | ||