NetworkManager/src/nm-initrd-generator
Beniamino Galvani b4776d6ced initrd-generator: support rd.net.dns-backend and rd.net.dns-resolve-mode
Add support for two new command line arguments:

 - `rd.net.dns-backend` used to control the "dns" option in
   NetworkManager configuration;
 - `rd.net.dns-resolve-mode` used to control the "resolve-mode" in the
   global DNS configuration.

The use case for them is the installation of a new system where the
administrator wants to configure aspects of the DNS resolution
starting from the early boot, for example to enable DNS over TLS and
avoid that any query goes out unencrypted.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2123
2025-02-04 10:44:48 +01:00
..
tests initrd-generator: support rd.net.dns-backend and rd.net.dns-resolve-mode 2025-02-04 10:44:48 +01:00
meson.build build: fix linking libnm-log-null into different test programs 2021-07-05 14:51:27 +02:00
nm-initrd-generator.c initrd-generator: support rd.net.dns-backend and rd.net.dns-resolve-mode 2025-02-04 10:44:48 +01:00
nm-initrd-generator.h initrd-generator: support rd.net.dns-backend and rd.net.dns-resolve-mode 2025-02-04 10:44:48 +01:00
nmi-cmdline-reader.c initrd-generator: support rd.net.dns-backend and rd.net.dns-resolve-mode 2025-02-04 10:44:48 +01:00
nmi-dt-reader.c glib-aux: avoid using inet_aton() 2023-05-08 15:44:49 +02:00
nmi-ibft-reader.c glib-aux: add and use nm_uuid_generate_from_strings_old() 2022-10-11 09:03:17 +02:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

nm-initrd-generator

A command line tool that generates NetworkManager configuration.

This is supposed to be run by dracut in initrd, before NetworkManager starts. It parses the kernel command line, generates configuration and quits.

See:

  • man 8 nm-initrd-generator ([www])
  • man 7 dracut.cmdline