Added warning message to boot2docker provisioner

pull/1136/head
Aaron Prindle 2017-02-16 10:12:12 -08:00
parent b55e0997f4
commit 49ce54a6c3
2 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,8 @@ Here is a rough set of steps that usually works to add a new dependency.
If it is a large dependency, please commit the vendor/ directory changes separately.
This makes review easier in Github.
NOTE: We have recently added a deprecation message regarding boot2docker. Make sure that this deprecation message ends up in the vendored code at `/vendor/github.com/docker/machine/libmachine/provision/boot2docker.go`: [https://github.com/kubernetes/minikube/blob/master/vendor/github.com/docker/machine/libmachine/provision/boot2docker.go#L220](https://github.com/kubernetes/minikube/blob/master/vendor/github.com/docker/machine/libmachine/provision/boot2docker.go#L220)
```shell
git add vendor/

View File

@ -216,6 +216,9 @@ You also might want to clear any VirtualBox host only interfaces you are not usi
}
func (provisioner *Boot2DockerProvisioner) Provision(swarmOptions swarm.Options, authOptions auth.Options, engineOptions engine.Options) error {
fmt.Println(`==========
WARNING: The boot2docker iso is deprecated and will not be supported by future versions of minikube")
==========`)
var (
err error
)