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

Fix online status with more than one NIC #1081

Merged
merged 6 commits into from
Oct 3, 2024
Merged

Conversation

bencorrado
Copy link
Contributor

For systems with more than one unconfigured NIC, this allows the system to see any one interface online as enough to proceed with online status. Fixes kairos:#2898

For systems with more than one unconfigured NIC, this allows the system to see any one interface online as enough to proceed with online status.
Fixes kairos-io/kairos#2898

Signed-off-by: Ben Corrado <[email protected]>
Copy link
Member

@Itxaka Itxaka left a comment

Choose a reason for hiding this comment

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

I would drop the --ipv4 in case we got a network with only ipv6 maybe? if that is not specified, it seems that it will use the configuration from the device to know which version to use so it may be better that way.

Also this will fail to pass CI because you need to bump the minor version of the package, so it gets properly build. Just bump the patch version on https://github.com/kairos-io/packages/blob/main/packages/static/kairos-overlay-files/collection.yaml#L4 :)

Signed-off-by: Ben Corrado <[email protected]>
Signed-off-by: Ben Corrado <[email protected]>
@bencorrado bencorrado requested a review from Itxaka October 1, 2024 17:01
@Itxaka
Copy link
Member

Itxaka commented Oct 3, 2024

hey @bencorrado sorry about this, updating the branch made the version go away as we already bumped it in a different Pr. Could you bump the version? Will merge it afterwards

Signed-off-by: Itxaka <[email protected]>
@Itxaka
Copy link
Member

Itxaka commented Oct 3, 2024

oh nice, I can push it as well :D

@Itxaka Itxaka merged commit 496fe60 into kairos-io:main Oct 3, 2024
4 of 6 checks passed
@bencorrado bencorrado deleted the MultiNIC branch October 8, 2024 02:08
@bencorrado
Copy link
Contributor Author

Thanks for merging and shepherding me through @Itxaka

Did this count for #hacktoberfest? I want a t-shirt!

@mauromorales
Copy link
Member

@bencorrado I just added the tag, if you are subscribed to hacktoberfest, I would hope that it will eventually show up as counting on their app. As for the kairos tshirt you're in, I'm adding you to the list kairos-io/kairos#2924

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

Successfully merging this pull request may close these issues.

systemd-networkd-wait-online fails with multiple ethernet where one or more is disconnected
3 participants