diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2020-03-21 22:28:31 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2020-03-22 13:54:32 +0100 |
commit | 5d2208683446316237b941a0f309f5ce26b591d2 (patch) | |
tree | e224e420f354cf653d5de6013730461a06617c55 /src/nm-keep-alive.h | |
parent | 59126d0e50eb30341beca2148df5f60eb69f3508 (diff) | |
download | NetworkManager-bg/initrd-nameservers.tar.gz |
initrd: rework command line parsingbg/initrd-nameservers
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 wrong results.
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.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/391
Diffstat (limited to 'src/nm-keep-alive.h')
0 files changed, 0 insertions, 0 deletions