disable systemd-networkd-wait-online if ...

systemd-networkd won't be used for network configuration
This commit is contained in:
Xi Ruoyao 2022-05-29 14:25:22 +08:00 committed by William Harrington
parent 3efe578456
commit 64e70b0038

View File

@ -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>