Skip to content

Conversation

presztak
Copy link
Collaborator

This change allows selecting un-managed bridges when picking networks from the drop-down list.

Closes: #82

@presztak presztak requested a review from stgraber October 16, 2025 19:25
@stgraber
Copy link
Member

@presztak does that actually work though?

For managed networks, you want a NIC device like this:

eth0:
  type: nic
  name: eth0
  network: NAME

For a non-managed bridge, you instead want:

eth0:
  type: nic
  nictype: bridged
  parent: NAME
  name: eth0

Do we already have some magic logic that selects the correct one when generating the actual device entry?

@presztak
Copy link
Collaborator Author

@stgraber ahh, you are correct. We're missing that part.

@presztak presztak marked this pull request as draft October 17, 2025 08:24
@presztak presztak force-pushed the allow_unmanaged_bridges branch from 472f439 to 64466dd Compare October 17, 2025 16:23
Signed-off-by: Piotr Resztak <[email protected]>
License: GPL-3.0-only (without Canonical CLA)
@presztak presztak force-pushed the allow_unmanaged_bridges branch from 64466dd to d536189 Compare October 18, 2025 08:33
@presztak presztak marked this pull request as ready for review October 18, 2025 08:33
@presztak
Copy link
Collaborator Author

@stgraber , it should be better now.

@stgraber stgraber merged commit 18ee60c into zabbly:main Oct 18, 2025
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.

Allow selecting un-managed bridges as networks when attaching a NIC

2 participants