mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
disable systemd-networkd-wait-online if ...
systemd-networkd won't be used for network configuration
This commit is contained in:
parent
f99a7eb572
commit
5f3777ab18
@ -27,6 +27,17 @@
|
|||||||
of a static <filename>/etc/resolv.conf</filename> file. Both services are
|
of a static <filename>/etc/resolv.conf</filename> file. Both services are
|
||||||
enabled by default.</para>
|
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
|
<para>Configuration files for <command>systemd-networkd</command> (and
|
||||||
<command>systemd-resolved</command>) can be placed in
|
<command>systemd-resolved</command>) can be placed in
|
||||||
<filename class="directory">/usr/lib/systemd/network</filename>
|
<filename class="directory">/usr/lib/systemd/network</filename>
|
||||||
|
Loading…
Reference in New Issue
Block a user