aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-05-29 14:25:22 +0800
committerXi Ruoyao <xry111@xry111.site>2022-05-29 14:25:22 +0800
commit5f3777ab18e91674707b7d410261918303ea3145 (patch)
treedfcd78ef37399f66a3268f0e7b53bfb7d70cb621 /chapter09
parentf99a7eb572b1dc142c80fdfd55332235e2a6df79 (diff)
disable systemd-networkd-wait-online if ...
systemd-networkd won't be used for network configuration
Diffstat (limited to 'chapter09')
-rw-r--r--chapter09/networkd.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter09/networkd.xml b/chapter09/networkd.xml
index e7b876785..56d41a983 100644
--- a/chapter09/networkd.xml
+++ b/chapter09/networkd.xml
@@ -27,6 +27,17 @@
of a static <filename>/etc/resolv.conf</filename> file. Both services are
enabled by default.</para>
+ <note>
+ <para>
+ If you will not use <command>systemd-networkd</command> for network
+ configuration (for example, when the system is not connected to
+ network, or you want to use another utility like NetworkManager
+ for network configuration), disable a service to prevent an error
+ message during boot:
+ </para>
+ <screen role='nodump'><userinput>systemctl disable systemd-networkd-wait-online</userinput></screen>
+ </note>
+
<para>Configuration files for <command>systemd-networkd</command> (and
<command>systemd-resolved</command>) can be placed in
<filename class="directory">/usr/lib/systemd/network</filename>