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
parent f99a7eb572
commit 5f3777ab18
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

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>