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:
Nathan LeClaire 2016-01-22 14:52:26 -08:00
commit 432eece6ff
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func configureSwarm(p Provisioner, swarmOptions swarm.Options, authOptions auth.
if swarmOptions.Master {
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.ServerCertRemotePath,
authOptions.ServerKeyRemotePath,