-
Notifications
You must be signed in to change notification settings - Fork 16
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
Hyper-V: Use Default Switch vSwitch by default #18
Conversation
acebf56
to
5436e45
Compare
Please open a PR upstream (https://github.com/docker/machine) as well, thanks. |
5436e45
to
c85f915
Compare
Thanks, docker#4732 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution :) . Please look at the review comments.
@afbjorklund - Can we merge this once the comments are addressed? I will then change our package source to this for Hyper-V. Sounds good? |
c85f915
to
c2cc2c0
Compare
Signed-off-by: Zhongcheng Lao <[email protected]>
c2cc2c0
to
76bf7b8
Compare
@laozc - The changes look good! @afbjorklund - This looks good. Please merge it. @tstromberg - If this is merged, should I switch the packages to point to this repository instead? We need to get testing infra working for this as well if we are to move to this repository going forward... |
@blueelvis - Yes, we should update minikube's dependency pinning to make use of this feature. It's a huge win for users. For minikube, I'm happy to test this ad-hoc for now while we work out the reliability issues around our Hyper-V machines (tests are now active but only succeed once per reboot). If you are asking about hooking the machine-drivers testing infrastructure to our machines, that isn't currently planned and would require some discussion. |
@afbjorklund @tstromberg - Please merge this PR into the repo and I will configure our repository to use this instead of the main machine repo. Regarding testing infrastructure, can't we have at least somewhat temporary mechanism to do it via Travis? |
@blueelvis - Yes, getting Travis support for this repository would be entirely reasonable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The switch should be identified by the ID and not using any string, else the Switch will not be located on localized platforms.
In older versions of Windows 10 the name
When the localization issue got resolved I can't remember, but for fallback in Minishift and CRC we keep using the ID to get the vSwitch. |
Signed-off-by: Zhongcheng Lao <[email protected]>
Getting some mixed messages here, should it be merged or does it need further additions ? As far as I know this repository doesn't even do releases, so I'm not sure if it will do checks ? |
I would suggest to merge this, but add modifications when the mention issues show up. We have made a strong cut-off for CRC (the successor to Minishift) so we prevent this issue. But since Minikube does not have any version checks, you might end up people trying this on the Fall Creator's update and unable to select the correct virtual switch. |
This PR uses Default Switch as a fallback if the specified target is not found or not specified.