changed destination of node key
authorTony Mack <tmack@cs.princeton.edu>
Tue, 1 Dec 2009 15:36:27 +0000 (15:36 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 1 Dec 2009 15:36:27 +0000 (15:36 +0000)
sfa/methods/request_key.py

index 0775600..6d48379 100644 (file)
@@ -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)