git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ddb37
)
changed destination of node key
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 1 Dec 2009 15:36:27 +0000
(15:36 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 1 Dec 2009 15:36:27 +0000
(15:36 +0000)
sfa/methods/request_key.py
patch
|
blob
|
history
diff --git
a/sfa/methods/request_key.py
b/sfa/methods/request_key.py
index
0775600
..
6d48379
100644
(file)
--- a/
sfa/methods/request_key.py
+++ b/
sfa/methods/request_key.py
@@
-55,7
+55,7
@@
class request_key(Method):
(fd, filename) = tempfile.mkstemp()
pkey.save_to_file(filename)
host = node['hostname']
- dest="/etc/sfa/
%s.key" % record['hrn']
+ dest="/etc/sfa/
nodekey.key"
identity = "/etc/planetlab/root_ssh_key.pub"
os.system("scp -i %(identity)s %(filename)s root@%(host)s:%(dest)s" % locals()
os.remove(filename)