diff options
author | Kevin Hilman <khilman@baylibre.com> | 2020-07-17 11:30:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 11:30:29 -0700 |
commit | 742285bd368fc099d0bf97f23814dc7c5ac9ab92 (patch) | |
tree | d0981a397556c1c6a90a15dbc71039900ab9cbb4 | |
parent | c6592d385d17b89e6dd9dc244fb592d5ab38f28a (diff) | |
parent | 2d7a167ffe0cd2a2db5164a63c16c13464376cff (diff) |
Merge pull request #123 from Rosepeter/master
[Fix] Ensure proper filename of public master key
-rwxr-xr-x | lavalab-gen.py | 2 |
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 |