mirror of https://github.com/docker/docs.git
Merge pull request #2904 from patrikerdes/2903_swarm_replication
Fix #2903, revert #2833 since it makes it impossible to start up a Swarm master with the token discovery method
This commit is contained in:
commit
432eece6ff
|
@ -42,7 +42,7 @@ func configureSwarm(p Provisioner, swarmOptions swarm.Options, authOptions auth.
|
||||||
|
|
||||||
if swarmOptions.Master {
|
if swarmOptions.Master {
|
||||||
advertiseMasterInfo := fmt.Sprintf("%s:%s", ip, "3376")
|
advertiseMasterInfo := fmt.Sprintf("%s:%s", ip, "3376")
|
||||||
cmd := fmt.Sprintf("manage --tlsverify --tlscacert=%s --tlscert=%s --tlskey=%s -H %s --strategy %s --replication --advertise %s",
|
cmd := fmt.Sprintf("manage --tlsverify --tlscacert=%s --tlscert=%s --tlskey=%s -H %s --strategy %s --advertise %s",
|
||||||
authOptions.CaCertRemotePath,
|
authOptions.CaCertRemotePath,
|
||||||
authOptions.ServerCertRemotePath,
|
authOptions.ServerCertRemotePath,
|
||||||
authOptions.ServerKeyRemotePath,
|
authOptions.ServerKeyRemotePath,
|
||||||
|
|
Loading…
Reference in New Issue