summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlavalab-gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index f7cd66d..87b0cd5 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -501,7 +501,7 @@ def main():
if "zmq_auth_key" in worker:
shutil.copy(worker["zmq_auth_key"], "%s/zmq_auth/" % workerdir)
shutil.copy(worker["zmq_auth_key_secret"], "%s/zmq_auth/" % workerdir)
- shutil.copy(worker["zmq_auth_master_key"], "%s/zmq_auth/" % workerdir)
+ shutil.copy(worker["zmq_auth_master_key"], "%s/zmq_auth/%s.key" % (workerdir,remote_master))
for fm in masters:
if fm["name"].lower() == remote_master.lower():
slave_master = fm