diff options
author | ColinGuthrie <ColinGuthrie@web> | 2014-02-21 07:36:45 -0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-12-11 10:58:40 +0100 |
commit | b4584342c0e88b6e7b4cec9bad44fbf2d94edea2 (patch) | |
tree | 1c25f74f5cd15f3dd3c1b7131616ee8bc812a258 /docs | |
parent | 8745120c9901be20f742dd78d5578d5f3d768df5 (diff) | |
download | systemd-b4584342c0e88b6e7b4cec9bad44fbf2d94edea2.tar.gz systemd-b4584342c0e88b6e7b4cec9bad44fbf2d94edea2.tar.bz2 systemd-b4584342c0e88b6e7b4cec9bad44fbf2d94edea2.zip |
Deal with 80-net-setup-link.rules introduced in 209.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/PredictableNetworkInterfaceNames.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/PredictableNetworkInterfaceNames.mdwn b/docs/PredictableNetworkInterfaceNames.mdwn index 8db4e1d8ad..5f06561f15 100644 --- a/docs/PredictableNetworkInterfaceNames.mdwn +++ b/docs/PredictableNetworkInterfaceNames.mdwn @@ -58,9 +58,9 @@ Does this have any drawbacks? Yes, it does. Previously it was practically guaran You basically have four options: -1. You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: `ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules` +1. You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: `ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules` (since v209: this file was called `80-net-name-slot.rules` in release v197 through v208) 1. You create your own manual naming scheme, for example by naming your interfaces "internet0", "dmz0" or "lan0". For that create your own udev rules file and set the NAME property for the devices. Make sure to order it before the default policy file, for example by naming it `/etc/udev/rules.d/70-my-net-names.rules` -1. You alter the default policy file, for picking a different naming scheme, for example for naming all interface names after their MAC address by default: `cp /usr/lib/udev/rules.d/80-net-name-slot.rules /etc/udev/rules.d/80-net-name-slot.rules`, then edit the file there and change the lines as necessary. +1. You alter the default policy file, for picking a different naming scheme, for example for naming all interface names after their MAC address by default: `cp /usr/lib/udev/rules.d/80-net-setup-link.rules /etc/udev/rules.d/80-net-setup-link.rules`, then edit the file there and change the lines as necessary. 1. You pass the net.ifnames=0 on the kernel command line (since v199) ## How does the new naming scheme look like, precisely? |