mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-12 22:50:29 +01:00
The 'default_connection' created by the command line parser has multiple purposes. It's the connection created for 'ip=' arguments without command line, but is also created when there is a 'bootdev=' or for 'nameserver=' and no other connection exists at the moment the argument is parsed. This is confusing and leads to a result that depends on the order of parameters. For example: $ /usr/libexec/nm-initrd-generator -c connections -- bootdev=eth1 ip=eth0:dhcp $ ls connections/ default_connection.nmconnection eth0.nmconnection $ /usr/libexec/nm-initrd-generator -c connections -- ip=eth0:dhcp bootdev=eth1 $ ls connections/ eth0.nmconnection eth1.nmconnection Make this more explicit by tracking 'bootdev_connection' and 'default_connection' individually. Also fix handling of 'nameserver', 'rd.peerdns' and 'rd.route' arguments. First process all connections, and then set those properties. In particular, now nameservers are applied to all connections. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/391 |
||
|---|---|---|
| .. | ||
| sysfs | ||
| sysfs-bad-dns1 | ||
| sysfs-bad-dns2 | ||
| sysfs-bad-gateway | ||
| sysfs-bad-ipaddr | ||
| sysfs-dhcp | ||
| sysfs-dt/firmware/devicetree/base | ||
| sysfs-dt-tftp/firmware/devicetree/base/chosen | ||
| sysfs-static | ||
| sysfs-vlan | ||
| meson.build | ||
| test-cmdline-reader.c | ||
| test-dt-reader.c | ||
| test-ibft-reader.c | ||