openshift/vagrant-openshift — pull request #178 by deads2k (2014-12-02 21:55:57+00:00)
Title: handle kubernetes services with random ips

Kubernetes services now randomize their IPs. That means that the services we use for docker registries during our tests are no longer on predictable ips. This tweaks the insecure ips to allow the entire default portal-net range.

Without it, you end up with errors like this:
```
Error: Invalid registry endpoint https://172.121.17.215:5001/v1/: Get https://172.121.17.215:5001/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 172.121.17.215:5001` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/172.121.17.215:5001/ca.crt
```
from https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_openshift3/587/console .

I don't know to test this change, but the range looks legal according to this: https://docs.docker.com/reference/commandline/cli/#daemon. You can test it by running the changes for https://github.com/openshift/origin/pull/483.