From: Tony Mack Date: Tue, 1 Dec 2009 15:36:27 +0000 (+0000) Subject: changed destination of node key X-Git-Tag: sfa-0.9-7~269 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c75996c7145dc49d3199367abc19872328069d26;p=sfa.git changed destination of node key --- diff --git a/sfa/methods/request_key.py b/sfa/methods/request_key.py index 07756007..6d48379b 100644 --- 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)