Added warning message to boot2docker provisioner
parent
b55e0997f4
commit
49ce54a6c3
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue