Skip to content

Merge api-v2 mainly for #3006#3017

Closed
teclator wants to merge 8 commits intomasterfrom
api-v2
Closed

Merge api-v2 mainly for #3006#3017
teclator wants to merge 8 commits intomasterfrom
api-v2

Conversation

@teclator
Copy link
Copy Markdown
Contributor

It merges api-v2 mainly because of #3006

teclator and others added 8 commits January 12, 2026 10:05
## Problem

Up to Agama 18, part of the network configuration was done using the
[Agama::Network Ruby
class](https://github.com/agama-project/agama/blob/master/service/lib/agama/network.rb
"‌"). The method `startup` was called during Agama start-up and
`install`during the installation process.

We need to implement the same logic in the `api-v2`branch using Rust.

Note: We should consider to copy all the connections from
`/etc/NetworkManager/system-connections` as we used to do at least until
Agama is aware of new connections added by NetworkManager.
See[https://bugzilla.suse.com/show_bug.cgi?id=1254492#c25](https://bugzilla.suse.com/show_bug.cgi?id=1254492#c25
"smartCard-inline")

-
https://trello.com/c/ixm9Fz0J/5460-add-support-to-initialize-and-finish-the-network-configuration

## Solution

Implemented the network startup and install methods in the backend
network service.

## Tests

- Tested manually

## TODO

### When starting the service
- [x] Propose default configuration when starting the service.

### When calling install
- [X] Copy connections to the target system.
- [X] Enable NetworkManager service
- [ ]  Configure the proxy in the target system. ?
@teclator teclator closed this Jan 14, 2026
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.

1 participant