1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-12 13:18:47 +00:00

Added flag to ignore docker version

This commit is contained in:
Bill Maxwell
2018-05-15 10:35:52 -07:00
committed by Alena Prokharchyk
parent db3bda1191
commit 73e56b0fbb
4 changed files with 16 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ func UpCommand() cli.Command {
},
}
upFlags = append(upFlags, sshCliOptions...)
upFlags = append(upFlags, commonFlags...)
return cli.Command{
Name: "up",
@@ -199,6 +199,9 @@ func clusterUpLocal(ctx *cli.Context) error {
}
rkeConfig.Nodes = []v3.RKEConfigNode{*cluster.GetLocalRKENodeConfig()}
}
rkeConfig.IgnoreDockerVersion = ctx.Bool("ignore-docker-version")
_, _, _, _, _, err = ClusterUp(context.Background(), rkeConfig, nil, hosts.LocalHealthcheckFactory, nil, true, "", false, false)
return err
}