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

[BACKPORT] Disable predictable interface names (bsc#1230904) (#1581) #1582

Merged

Conversation

davidcassany
Copy link
Contributor

This commit adds the net.ifnames=0 kernel parameter to the OS images to prevent interface rename. With the new Micro 6 image, the kernel uses predicable interface naming convention, which causes a network interface rename when upgrading from older OS versions.

This change disables this new kernel feature and keeps the old behavior.

Fixes bsc#1230904

Signed-off-by: David Cassany dcassany@suse.com
(cherry picked from commit a9c1d57)

This commit adds the net.ifnames=0 kernel parameter to the
OS images to prevent interface rename. With the new Micro 6
image, the kernel uses predicable interface naming convention,
which causes a network interface rename when upgrading from older
OS versions.

This change disables this new kernel feature and keeps the old
behavior.

Fixes bsc#1230904

Signed-off-by: David Cassany <dcassany@suse.com>
(cherry picked from commit a9c1d57)
@davidcassany davidcassany requested a review from a team as a code owner September 23, 2024 09:41
Copy link
Contributor

@anmazzotti anmazzotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidcassany davidcassany merged commit 21bc439 into rancher:v2.1.x Sep 23, 2024
3 checks passed
@davidcassany davidcassany deleted the disable_predictable_ifnames branch September 23, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants