Skip to content

Commit

Permalink
Mistake in "initialize"
Browse files Browse the repository at this point in the history
As explained here:
schollz#29 (comment)
  • Loading branch information
BS1A authored Jan 25, 2018
1 parent f17ca7e commit 4213963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ def main(args, config):
return
elif command == "initialize":
print("copying ips")
for address in config['pis']:
for pi in config['pis']:
c = 'ssh-copy-id %(address)s'
r, code = run_command(c % {'address': address})
r, code = run_command(c % {'address': pi['address']})
if code == 1:
print("Could not connect to %s" % address)
return
Expand Down

0 comments on commit 4213963

Please sign in to comment.