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

bridges can be renamed, and if so, things break #309

Open
jmgurney opened this issue Apr 10, 2020 · 0 comments
Open

bridges can be renamed, and if so, things break #309

jmgurney opened this issue Apr 10, 2020 · 0 comments

Comments

@jmgurney
Copy link

I have renamed a bridge to guestbrg0, and it fails to pick up that this bridge exists. This is because iohyve assumes that all bridges are named bridge[0-9]+. This patch adapts to using groups, and, as you cannot create a renamed bridge (that is if you rename bridge2 to guestbrg0, you can no longer create bridge2), the new bridge detection logic needs to be changed. It turns out, that at least w/ 11.3, you can simply do ifconfig bridge create, and ifconfig will print the name of the new bridge. I have verified that the patch handles when a bridge exists, and also creates a new bridge as needed.
ioh-setup.txt

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

No branches or pull requests

1 participant