summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-12-01 17:32:36 +0000
committerGerrit Code Review <review@openstack.org>2016-12-01 17:32:36 +0000
commita7f90f1da5ed6db5baaca2b1b709d386ae6137a9 (patch)
treec553e32ecd9b4b5a1afc8e06965717903e541dba
parentceb2c79a0e059da87d59eaba4a846789ae262dc5 (diff)
parentcc85d486b488405a5a014bd01942f5096388f0b6 (diff)
Merge "Have an ending line-feed on the generated id_rsa.pub file"0.3.1
-rw-r--r--nodepool/nodepool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodepool/nodepool.py b/nodepool/nodepool.py
index 5a5cd1e..e7a6100 100644
--- a/nodepool/nodepool.py
+++ b/nodepool/nodepool.py
@@ -678,7 +678,7 @@ class NodeLauncher(threading.Thread):
678 key.write_private_key(f) 678 key.write_private_key(f)
679 f.close() 679 f.close()
680 f = ftp.open('/etc/nodepool/id_rsa.pub', 'w') 680 f = ftp.open('/etc/nodepool/id_rsa.pub', 'w')
681 f.write(public_key) 681 f.write(public_key + '\n')
682 f.close() 682 f.close()
683 # Provider information for this node set 683 # Provider information for this node set
684 f = ftp.open('/etc/nodepool/provider', 'w') 684 f = ftp.open('/etc/nodepool/provider', 'w')