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

This commit is contained in:
Jenkins 2016-12-01 17:32:36 +00:00 committed by Gerrit Code Review
commit a7f90f1da5
1 changed files with 1 additions and 1 deletions

View File

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