Browse Source

Merge "Have an ending line-feed on the generated id_rsa.pub file"

tags/0.3.1^0
Jenkins 2 years ago
parent
commit
a7f90f1da5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      nodepool/nodepool.py

+ 1
- 1
nodepool/nodepool.py View File

@@ -678,7 +678,7 @@ class NodeLauncher(threading.Thread):
678 678
             key.write_private_key(f)
679 679
             f.close()
680 680
             f = ftp.open('/etc/nodepool/id_rsa.pub', 'w')
681
-            f.write(public_key)
681
+            f.write(public_key + '\n')
682 682
             f.close()
683 683
             # Provider information for this node set
684 684
             f = ftp.open('/etc/nodepool/provider', 'w')

Loading…
Cancel
Save