summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2020-07-17 11:30:29 -0700
committerGitHub <noreply@github.com>2020-07-17 11:30:29 -0700
commit742285bd368fc099d0bf97f23814dc7c5ac9ab92 (patch)
treed0981a397556c1c6a90a15dbc71039900ab9cbb4
parentc6592d385d17b89e6dd9dc244fb592d5ab38f28a (diff)
parent2d7a167ffe0cd2a2db5164a63c16c13464376cff (diff)
Merge pull request #123 from Rosepeter/master
[Fix] Ensure proper filename of public master key
-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