Closed ricab closed 3 months ago
This will be an issue for QEMU too once networking is implemented on Linux. On macOS we don't need bridges, so we don't see it there today.
I believe the generic fix would be to call find_bridge_with which implements exactly this.
Describe the bug The Multipass daemon keeps thinking that bridged instances aren't bridged, when the
bridged-network
is set to an non-bridge interface, in Hyper-V. If asked to setbridge=true
again, it will then duplicate the bridged interface.The problem is that the bridge is not associated with the interface here. This appears to be a forgotten placeholder and shouldn't be hard to fix.
VirtualBox doesn't have a dedicated implementation, but I think we don't need bridges there and just pass the end interface, so this shouldn't apply there.
To Reproduce
The instance now has 3 new bridged networks.
Expected behavior The bridge would be recognized and a second attempt to make the setting true would be a no op.
Additional info
multipass version
multipass get local.driver=hyper-v