Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure net.ifnames=0 is used and no (Un)PredictableNetworkNames usage #60

Open
NiKiZe opened this issue Jul 31, 2021 · 0 comments
Open

Comments

@NiKiZe
Copy link
Contributor

NiKiZe commented Jul 31, 2021

Discovered/introduced during fix of #8 in 4a38196
udev rule killing the (Un)PredictableNetworkNames was removed in default generation path

# cat /lib/udev/rules.d/80-net-name-slot.rules

# do not edit this file, it will be overwritten on update

ACTION!="add", GOTO="net_name_slot_end"
SUBSYSTEM!="net", GOTO="net_name_slot_end"
NAME!="", GOTO="net_name_slot_end"

IMPORT{cmdline}="net.ifnames"
ENV{net.ifnames}=="0", GOTO="net_name_slot_end"

NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"

LABEL="net_name_slot_end"

Tags:
PredictableNetworkInterfaceNames
PredictableNetworkNames
UnPredictableNetworkInterfaceNames
UnPredictableNetworkNames
DefinitelyNotPredictableNetworkInterfaceNames

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant