Blame docs/api/html/nm-initrd-generator.html

Packit 5756e2
Packit 5756e2
<html>
Packit 5756e2
<head>
Packit 5756e2
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit 5756e2
<title>nm-initrd-generator: NetworkManager Reference Manual</title>
Packit 5756e2
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit 5756e2
<link rel="home" href="index.html" title="NetworkManager Reference Manual">
Packit 5756e2
<link rel="up" href="manpages.html" title="Part I. Manual Pages">
Packit 5756e2
<link rel="prev" href="nm-online.html" title="nm-online">
Packit Service 8f75d2
<link rel="next" href="nm-cloud-setup.html" title="nm-cloud-setup">
Packit Service dff8e4
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
Packit 5756e2
<link rel="stylesheet" href="style.css" type="text/css">
Packit 5756e2
</head>
Packit 5756e2
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit 5756e2
Packit 5756e2
Packit 5756e2
Home
Packit 5756e2
Up
Packit 5756e2
Prev
Packit Service 8f75d2
Next
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

nm-initrd-generator

Packit 5756e2

nm-initrd-generator — early boot NetworkManager configuration generator

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Synopsis

Packit 5756e2

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

Packit 5756e2
Packit 5756e2
Packit 5756e2

Description

Packit 5756e2

nm-initrd-generator scans the command line for options

Packit 5756e2
    relevant to network configuration and creates configuration files for an early
Packit 5756e2
    instance of NetworkManager run from the initial ramdisk during early boot.

Packit 5756e2
Packit 5756e2
Packit 5756e2

Options

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
            -c  |   --connections-dir  
Packit 5756e2
            path 
Packit 5756e2
        

Packit 5756e2

Output connection directory.

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
            -i  |   --initrd-data-dir  
Packit 5756e2
            path 
Packit 5756e2
        

Packit 5756e2

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

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
            -d  |   --sysfs-dir  
Packit 5756e2
            path 
Packit 5756e2
        

Packit 5756e2

The sysfs mount point.

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit Service 018b0a
            -r  |   --run-config-dir  
Packit Service 018b0a
            path 
Packit Service 018b0a
        

Packit Service 018b0a

Output directory for config files.

Packit Service 018b0a
Packit Service 018b0a
Packit Service 018b0a

Packit 5756e2
            -s  |   --stdout  
Packit 5756e2
        

Packit 5756e2

Dump connections to standard output. Useful for debugging.

Packit 5756e2
Packit 5756e2
Packit 5756e2

CMDLINE

Packit 5756e2
Packit 5756e2

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

Packit 5756e2
Packit 5756e2
ip
Packit 5756e2
rd.route
Packit 5756e2
bridge
Packit 5756e2
bond
Packit 5756e2
team
Packit 5756e2
vlan
Packit 5756e2
bootdev
Packit 5756e2
nameserver
Packit 5756e2
rd.peerdns
Packit 5756e2
rd.bootif
Packit 5756e2
rd.net.timeout.dhcp
Packit Service 018b0a
rd.net.timeout.carrier
Packit 5756e2
BOOTIF
Packit 5756e2
Packit 5756e2

Please consult the dracut.cmdline(7)

Packit 5756e2
          manual for the documentation of the precise format of the values supported.

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Differences from the network-legacy dracut module

Packit 5756e2

nm-initrd-generator generates a set of

Packit 5756e2
    connections that are then configured by the NetworkManager
Packit 5756e2
    instance running in the initrd. There are some differences in
Packit 5756e2
    behavior compared to the network-legacy dracut module:

Packit 5756e2
    Packit 5756e2
  • When an interface is configured with a static address

  • Packit 5756e2
            and a gateway, the network-legacy module waits that the
    Packit 5756e2
            gateway responds to arping requests before proceeding, while
    Packit 5756e2
            NetworkManager doesn't.

    Packit 5756e2
  • network-legacy configures interfaces one by one in the

  • Packit 5756e2
            order in which they are announced by udev. If multiple
    Packit 5756e2
            interfaces specify a hostname (from command line or from
    Packit 5756e2
            DHCP), the one from the last interface activated wins. With
    Packit 5756e2
            NetworkManager, hostnames from command line have higher
    Packit 5756e2
            precedence over ones from DHCP, and the last that appears in
    Packit 5756e2
            the command line wins.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    Exit Status

    Packit 5756e2

    nm-initrd-generator exits with status 0. It ignores unrecognized

    Packit 5756e2
        options and prints an error message if it encounters a malformed option.

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2

    See Also

    Packit 5756e2

    dracut.cmdline(7),

    Packit 5756e2
        NetworkManager(8).

    Packit 5756e2
    Packit 5756e2
    Packit 5756e2
    Packit Service dff8e4

    Generated by GTK-Doc V1.33.0
    Packit 5756e2
    </body>
    Packit 5756e2
    </html>