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

[202012][Arista] Fix arista-net initramfs hook #10626

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

Staphylo
Copy link
Collaborator

Why I did it

Backport from #10624

Description for the changelog

Fix arista-net management interface rename logic in initramfs

The interface renaming logic fails if one interface is missing.
Because of the `set -e` the whole initramfs hook would abort early on
error.
This change fixes the current behavior to make sure missing interfaces
are properly skipped and ensure existing interface are renamed.
@lguohan lguohan merged commit 9de6b2c into sonic-net:202012 Apr 20, 2022
@Staphylo Staphylo deleted the 202012-arista-net branch December 6, 2022 15:03
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

Successfully merging this pull request may close these issues.

2 participants