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
customize: Add --network-nmstate option #864
Conversation
903ec82
to
221d142
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks! Assuming getting the deps right in Fedora isn't too much work, this SGTM. I think even if we end up doing coreos/fedora-coreos-tracker#1175, this still has value because it allows configuring the network in the initramfs of the live system too using NMState files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you!
b1bd86a
to
6dee4ce
Compare
|
Testing part is not fixed yet, but code is reviewable now. |
41dac55
to
c441795
Compare
6654626
to
6e39520
Compare
|
Cargo.toml has now a pin to nmstate/nmstate#1915, test should pass, but this cannot be merged until the PR is merge and nmstate published to cargo.io. |
56d7001
to
65f74e0
Compare
|
@bgilbert fixed clippy issues. |
dc3cdc3
to
334f5b3
Compare
|
Hey @qinqon Looks like fedora 36 update is ready at https://bodhi.fedoraproject.org/updates/FEDORA-2022-b78be96657 |
|
Rust package requirements are automatically added by |
334f5b3
to
3336237
Compare
|
@bgilbert Do you know what happening with CI ? |
kola basic tests are failing with ENOSPC. I'm checking whether it's a broader issue. |
|
The MSRV tests should be fixed by #926. The RPM test is awaiting FEDORA-2022-b78be96657 going stable. |
|
I'm not seeing that ENOSPC error in other PRs. |
|
Could you try rebasing? That should fix the GitHub Actions checks, and we can see whether it fixes the kola failure too. If it doesn't, there may be an actual problem with the PR. |
3336237
to
473b49e
Compare
|
I think @bgilbert and I came to the same realization in parallel. :) I suspect CI is hitting |
|
We're testing with 1 GB of RAM, and this PR increases the (Actually we're not using LTO at all anymore; it was too buggy.) |
7c2c286
to
473b49e
Compare
|
Confirmed that #929 fixes the |
Do we have to do something at nmstate to reduce |
|
No, the rdcore binary is only about 2 MiB with all symbols stripped, or 6 MiB with debug symbols stripped. That's what we actually ship in the OS, so this is only a CI problem. We'll just land #929 and then you can rebase on top of it. |
|
Okay, if you rebase this on |
It's possible to generate NetworkManager keyfiles from a Nmstate configuration. This change add a new option to use Nmstate format instead of multiple NetworkManager keyfiles to specify network configuration.
473b49e
to
e896a5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all your work on this! 🎉 🎈 🎆
It's possible to generate NetworkManager keyfiles from a Nmstate
configuration. This change add a new option to use Nmstate format
instead of multiple NetworkManager keyfiles to specify network
configuration.
The output from nmstate
gen_confis a HashMap of backend name to nmconnection vectors with the following formatOne call to
gen_confcan dump multiple keyfiles from the "NetworkManager" backend.