NetworkManager/src/nm-initrd-generator
Lubomir Rintel 79885656d3 initrd: don't add a connection if there's a connection dir with rd.neednet
Only create a default connection with rd.neednet if we're starting with
a totally blank slate. Otherwise it could be that the user already
included configuration in the initrd and merely wants us to activate it.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/999
2021-12-01 15:13:16 +01:00
..
tests initrd: don't add a connection if there's a connection dir with rd.neednet 2021-12-01 15:13:16 +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: don't add a connection if there's a connection dir with rd.neednet 2021-12-01 15:13:16 +01:00
nm-initrd-generator.h initrd: don't add a connection if there's a connection dir with rd.neednet 2021-12-01 15:13:16 +01:00
nmi-cmdline-reader.c initrd: don't add a connection if there's a connection dir with rd.neednet 2021-12-01 15:13:16 +01:00
nmi-dt-reader.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmi-ibft-reader.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00: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