summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-12-06 22:27:01 +0100
committerGitHub <noreply@github.com>2023-12-06 22:27:01 +0100
commitfd72d1e794d30491604852623019ebba156b45c0 (patch)
tree90aca214c43fb4cb09ba426b9d00ad53d29c3466 /man
parentMerge pull request #30271 from YHNdnzj/executor-cloexec (diff)
parentnetworkctl: introduce --runtime for editing network config under /run/ (diff)
downloadsystemd-fd72d1e794d30491604852623019ebba156b45c0.tar.xz
systemd-fd72d1e794d30491604852623019ebba156b45c0.zip
Merge pull request #30085 from YHNdnzj/networkctl-edit-runtime
networkctl: introduce --runtime for editing network config under /run/
Diffstat (limited to 'man')
-rw-r--r--man/networkctl.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml
index 68b1d97f09..3a2dc09ecc 100644
--- a/man/networkctl.xml
+++ b/man/networkctl.xml
@@ -430,7 +430,8 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
</term>
<listitem><para>Edit network configuration files, which include <filename>.network</filename>,
<filename>.netdev</filename>, and <filename>.link</filename> files. If no network config file
- matching the given name is found, a new one will be created under <filename>/etc/</filename>.
+ matching the given name is found, a new one will be created under <filename>/etc/</filename> or
+ <filename>/run/</filename>, depending on whether <option>--runtime</option> is specified.
Specially, if the name is prefixed by <literal>@</literal>, it will be treated as
a network interface, and editing will be performed on the network config files associated
with it. Additionally, the interface name can be suffixed with <literal>:network</literal> (default)
@@ -541,6 +542,17 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
<xi:include href="version-info.xml" xpointer="v254"/>
</listitem>
+
+ <varlistentry>
+ <term><option>--runtime</option></term>
+
+ <listitem>
+ <para>When used with <command>edit</command>, edit the file under <filename>/run/</filename>
+ instead of <filename>/etc/</filename>.</para>
+
+ <xi:include href="version-info.xml" xpointer="v256"/>
+ </listitem>
+ </varlistentry>
</varlistentry>
<xi:include href="standard-options.xml" xpointer="json" />