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

Lima: Darwin: Don't always use en0 for bridged network. #1140

Merged
merged 2 commits into from
Dec 20, 2021

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Dec 17, 2021

On some systems, en0 is not connected; in that case, we need to find the correct network to bridge onto. This implements the detection.

Fixes #1125.

This is #1136 cherry-picked onto the release branch.

On some systems, en0 is not connected; in that case, we need to find the
correct network to bridge onto.  This implements the detection.

Signed-off-by: Mark Yen <[email protected]>
- Only pick host networks with IP addresses.
  rancher-sandbox#1136 (comment)
- Make a backup of unexpected configurations we're clobbering.
  rancher-sandbox#1136 (comment)
- Only make bridges for interfaces that exist.
  rancher-sandbox#1136 (comment)

Signed-off-by: Mark Yen <[email protected]>
@mook-as mook-as requested a review from mattfarina December 17, 2021 23:56
@mattfarina mattfarina merged commit 71ff9d1 into rancher-sandbox:release-0.7 Dec 20, 2021
@mook-as mook-as deleted the mac-bridged-iface branch February 23, 2022 20:48
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.

3 participants