Fix #2903, revert #2833 since it makes it impossible to start up a Swarm master with the token discovery method

Signed-off-by: Patrik Erdes <patrik@erdes.se>
This commit is contained in:
Patrik Erdes
2016-01-22 10:38:10 +01:00
parent c341a289e1
commit 92b9853478

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,