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

[Arista] Ensure the kernel-cmdline-append is initially empty #15343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Staphylo
Copy link
Collaborator

@Staphylo Staphylo commented Jun 5, 2023

Why I did it

The kernel-cmdline-append file is not being reset before being generated.
Multiple invocations of build_image.sh would lead to an ever growing file.

How I did it

Truncate the file at the beginning of build_image.sh

How to verify it

No duplicated content in kernel-cmdline-append after running build_image.sh twice.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

@Staphylo Staphylo requested a review from lguohan as a code owner June 5, 2023 14:34
@Staphylo
Copy link
Collaborator Author

Staphylo commented Jun 5, 2023

@qiluo-msft

@Staphylo
Copy link
Collaborator Author

bump

@Staphylo
Copy link
Collaborator Author

@prgeor

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

Successfully merging this pull request may close these issues.

None yet

2 participants