From 5f3777ab18e91674707b7d410261918303ea3145 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 May 2022 14:25:22 +0800 Subject: [PATCH] disable systemd-networkd-wait-online if ... systemd-networkd won't be used for network configuration --- chapter09/networkd.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 /etc/resolv.conf file. Both services are enabled by default. + + + If you will not use systemd-networkd 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: + + systemctl disable systemd-networkd-wait-online + + Configuration files for systemd-networkd (and systemd-resolved) can be placed in /usr/lib/systemd/network