diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-04 07:33:38 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-05 01:42:32 +0100 |
commit | ea853de57dd84a2173cd60e2ecec1b8c978e04f3 (patch) | |
tree | 8c432ba4164ed2f2c4df6ab86f65be4b86e05a3e /man/systemd.network.xml | |
parent | stat-util: introduce path_is_network_fs() (diff) | |
download | systemd-ea853de57dd84a2173cd60e2ecec1b8c978e04f3.tar.xz systemd-ea853de57dd84a2173cd60e2ecec1b8c978e04f3.zip |
network: enable KeepConfiguration= when running on network filesystem
Also, set KeepConfiguration=dhcp-on-stop by default when running in
initrd.
Fixes #21967.
Diffstat (limited to 'man/systemd.network.xml')
-rw-r--r-- | man/systemd.network.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml index af431e4f2c..f90cff4cd6 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -944,8 +944,10 @@ Table=1234</programlisting></para> lease expires. This is contrary to the DHCP specification, but may be the best choice if, e.g., the root filesystem relies on this connection. The setting <literal>dhcp</literal> implies <literal>dhcp-on-stop</literal>, and <literal>yes</literal> implies - <literal>dhcp</literal> and <literal>static</literal>. Defaults to <literal>no</literal>. - </para> + <literal>dhcp</literal> and <literal>static</literal>. Defaults to + <literal>dhcp-on-stop</literal> when <command>systemd-networkd</command> is running in + initrd, <literal>yes</literal> when the root filesystem is a network filesystem, and + <literal>no</literal> otherwise.</para> </listitem> </varlistentry> </variablelist> |