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

Ignore return code when checking if eth1 exists #1741

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

mackdk
Copy link
Contributor

@mackdk mackdk commented Oct 25, 2024

What does this PR change?

This PR fixes an issue with the check of eth1 . Currently the code uses a cmd.run_stdout call which fails if the command returns an error code which translates in a failure of the salt script. This PR ignores the error code and allows to apply the state correctly when the interface is not present.

@mackdk mackdk merged commit f6ea49f into uyuni-project:master Oct 29, 2024
2 checks passed
@mackdk mackdk deleted the fix-missing-eth1-error branch October 29, 2024 10:21
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