-
Notifications
You must be signed in to change notification settings - Fork 2k
Handle bad netmask returned by virtualbox after hostonlyif creation. Fixes #1843 #1882
Handle bad netmask returned by virtualbox after hostonlyif creation. Fixes #1843 #1882
Conversation
If you rebase to master the grumpy CircleCI build should be fixed. |
…ixes #1843 Signed-off-by: Ron Williams <ron.a.williams@gmail.com>
Thanks |
Could I get you to write a unit test for the condition that this change is testing for? |
I'm pretty sure if I could get the integration tests to run on my Windows 10 machine we'd see some failures. What this change is testing for is the following bug in Virtualbox 5.0.4+
The network mask on a newly created host only adapter if always returns 15.0.0.0, if |
Mm, rough. So this fixes the issue by allowing Machine to correctly detect the created host only network? |
Correct. |
OK great, I have written some tests for this and the surrounding code and I'm going to make a PR to your repo that you should merge in for this PR. |
Please merge: https://github.com/rwilliams/machine/pull/1/files After that, LGTM |
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
…stonlyif Add tests for host only network retrieval feature Signed-off-by: Ron Williams <ron.a.williams@gmail.com>
Awesome |
LGTM |
Handle bad netmask returned by virtualbox after hostonlyif creation. Fixes #1843
No description provided.