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

Added a role to boot a SONiC switch to onie #327

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

mreiger
Copy link
Contributor

@mreiger mreiger commented Oct 4, 2024

Release Notes

A new role was added to boot a SONiC switch into ONIE. It is useful for reinstalling a switch from scratch without upgrading to a different SONiC version.

@mreiger
Copy link
Contributor Author

mreiger commented Oct 7, 2024

Should we add the option to skip waiting for ZTP, in case someone does not use it, or is it safe to assume anyone using metal-roles is doing ZTP?

@Gerrit91
Copy link
Contributor

Gerrit91 commented Oct 7, 2024

I think operators can decide not to add this role to their playbooks if the do not want to use it?

@mreiger
Copy link
Contributor Author

mreiger commented Oct 7, 2024

Naturally. :D
I was wondering if I should add a switch, in case you do want to reinstall your switch from a playbook but don't use ZTP.
Anyway; can be added later if someone actually wants this.

@mreiger mreiger marked this pull request as ready for review October 7, 2024 10:38
@mreiger mreiger requested a review from a team as a code owner October 7, 2024 10:38
@mreiger
Copy link
Contributor Author

mreiger commented Oct 29, 2024

Note to self: The boot entry is not always the same even on the same switch model; need to parse the output of efibootmgr to make this role stable.

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