nm-initrd-generator - Man Page

early boot NetworkManager configuration generator

Synopsis

nm-initrd-generator [Options...] -- [CMDLINE...]

Description

nm-initrd-generator scans the command line for options relevant to network configuration and creates configuration files for an early instance of NetworkManager run from the initial ramdisk during early boot.

Options

-c | --connections-dir path

Output connection directory.

-p | --persistent-connections-dir path

Persistent connection directory. If it exists, rd.neednet will not cause a default connection to be generated in absence of other options.

-i | --initrd-data-dir path

Output directory for initrd data (e.g. hostname).

-d | --sysfs-dir path

The sysfs mount point.

-r | --run-config-dir path

Output directory for config files.

-s | --stdout

Dump connections to standard output. Useful for debugging.

CMDLINE

The options that appear on the kernel command line. The following options are recognized:

ip
rd.route
bridge
bond
team
vlan
ib.pkey
bootdev
nameserver
net.ifnames
rd.peerdns
rd.iscsi.ibft
rd.bootif
rd.neednet
rd.ethtool
rd.net.timeout.dhcp
rd.net.dhcp.retry
rd.net.dhcp.vendor-class
rd.net.dhcp.dscp
rd.net.timeout.carrier
rd.znet
rd.znet_ifname
BOOTIF

Please consult the dracut.cmdline(7) manual for the documentation of the precise format of the values supported.

Differences from the Network-Legacy Dracut Module

nm-initrd-generator generates a set of connections that are then configured by the NetworkManager instance running in the initrd. There are some differences in behavior compared to the network-legacy dracut module:

Exit Status

nm-initrd-generator exits with status 0. It ignores unrecognized options and prints an error message if it encounters a malformed option.

See Also

dracut.cmdline(7), NetworkManager(8).

Referenced By

dracut.cmdline(7).

NetworkManager 1.46.0 System Administration