diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:52 +0000 |
commit | 55944e5e40b1be2afc4855d8d2baf4b73d1876b5 (patch) | |
tree | 33f869f55a1b149e9b7c2b7e201867ca5dd52992 /man/systemd-network-generator.service.xml | |
parent | Initial commit. (diff) | |
download | systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.tar.xz systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.zip |
Adding upstream version 255.4.upstream/255.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/systemd-network-generator.service.xml')
-rw-r--r-- | man/systemd-network-generator.service.xml | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/man/systemd-network-generator.service.xml b/man/systemd-network-generator.service.xml new file mode 100644 index 0000000..c01f701 --- /dev/null +++ b/man/systemd-network-generator.service.xml @@ -0,0 +1,129 @@ +<?xml version='1.0'?> <!--*-nxml-*--> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> +<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> + +<refentry id="systemd-network-generator.service" xmlns:xi="http://www.w3.org/2001/XInclude"> + + <refentryinfo> + <title>systemd-network-generator.service</title> + <productname>systemd</productname> + </refentryinfo> + + <refmeta> + <refentrytitle>systemd-network-generator.service</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <refnamediv> + <refname>systemd-network-generator.service</refname> + <refname>systemd-network-generator</refname> + <refpurpose>Generate network configuration from the kernel command line</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <para><filename>systemd-network-generator.service</filename></para> + <para><filename>/usr/lib/systemd/systemd-network-generator</filename></para> + </refsynopsisdiv> + + <refsect1> + <title>Description</title> + + <para><filename>systemd-network-generator.service</filename> is a system service that translates + <varname>ip=</varname> and related settings on the kernel command line (see below) into + <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>, and + <citerefentry><refentrytitle>systemd.link</refentrytitle><manvolnum>5</manvolnum></citerefentry> + configuration files understood by + <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> + and + <citerefentry><refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. + </para> + + <para>Files are generated in <filename>/run/systemd/network/</filename>.</para> + + <para>Note: despite the name, this generator executes as a normal systemd service and is + <emphasis>not</emphasis> an implementation of the + <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry> + concept.</para> + </refsect1> + + <refsect1> + <title>Kernel command line options</title> + + <para>This tool understands the following options:</para> + + <variablelist class='kernel-commandline-options'> + <varlistentry> + <term><varname>ip=</varname></term> + <term><varname>nameserver=</varname></term> + <term><varname>rd.route=</varname></term> + <term><varname>rd.peerdns=</varname></term> + <listitem> + <para>Translated into + <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry> + files.</para> + + <para>In addition to the parameters <citerefentry + project='man-pages'><refentrytitle>dracut.cmdline</refentrytitle><manvolnum>7</manvolnum></citerefentry> + defines the <varname>ip=</varname> option accepts the special value + <literal>link-local</literal>. If selected, the network interfaces will be configured for + link-local addressing (IPv4LL, IPv6LL) only, DHCP or IPv6RA will not be enabled.</para> + + <xi:include href="version-info.xml" xpointer="v245"/> + </listitem> + </varlistentry> + + <varlistentry> + <term><varname>ifname=</varname></term> + <term><varname>net.ifname-policy=</varname></term> + <listitem> + <para>Translated into + <citerefentry><refentrytitle>systemd.link</refentrytitle><manvolnum>5</manvolnum></citerefentry> + files.</para> + + <xi:include href="version-info.xml" xpointer="v245"/> + </listitem> + </varlistentry> + + <varlistentry> + <term><varname>vlan=</varname></term> + <term><varname>bond=</varname></term> + <term><varname>bridge=</varname></term> + <term><varname>bootdev=</varname></term> + <listitem> + <para>Translated into + <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry> + files.</para> + + <xi:include href="version-info.xml" xpointer="v245"/> + </listitem> + </varlistentry> + + <!-- unsupported: + team=<teammaster>:<teamslaves> + bootdev= + BOOTIF= + bootdev= + bootdev= + bootdev= + --> + </variablelist> + + <para>See + <citerefentry project='man-pages'><refentrytitle>dracut.cmdline</refentrytitle><manvolnum>7</manvolnum></citerefentry> + and + <citerefentry><refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> + for option syntax and details.</para> + </refsect1> + + <refsect1> + <title>See Also</title> + <para> + <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, + <citerefentry project='man-pages'><refentrytitle>dracut</refentrytitle><manvolnum>8</manvolnum></citerefentry> + </para> + </refsect1> + +</refentry> |