aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-05-29 14:25:22 +0800
committerWilliam Harrington <kb0iic@berzerkula.org>2022-05-30 16:25:43 -0500
commit64e70b0038aa8ae70aee05dcd51a8150ac8a016a (patch)
tree5fe36f46de0910b939f63254697f984e5feafe30
parent3efe578456b98e756ebca0b8adbe04ef53fbbf3a (diff)
disable systemd-networkd-wait-online if ...
systemd-networkd won't be used for network configuration
-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>