mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
symlinks: Mention how to disable NIC alternative names assignment
Fixes #5394.
This commit is contained in:
parent
7380559028
commit
3608380f22
@ -112,6 +112,19 @@
|
||||
proceeding, and be sure to use that <literal>NAME</literal> value when
|
||||
creating your network configuration files.</para>
|
||||
|
||||
<para>Even if the custom udev rule file is created, udev may still
|
||||
assign one or more alternative names for a NIC based on physical
|
||||
characteristics. If a custom udev rule would rename another NIC using
|
||||
a name already assigned as an alternative name of another NIC, this
|
||||
udev rule will fail. If this issue happens, you may create the
|
||||
<filename>/etc/udev/network/99-default.link</filename> configuration
|
||||
file with an empty alternative assignment policy, overriding the
|
||||
default configuration file
|
||||
<filename>/usr/lib/udev/network/99-default.link</filename>:</para>
|
||||
|
||||
<screen role="nodump"><userinput>sed -e '/^AlternativeNamesPolicy/s/=.*$/=/' \
|
||||
-i /usr/lib/udev/network/99-default.link \
|
||||
> /etc/udev/network/99-default.link</userinput></screen>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user