using the correct root_ssh_key to reach the node
[sfa.git] / sfa / methods / get_key.py
index f84c5fe..15f520c 100644 (file)
@@ -66,7 +66,7 @@ class get_key(Method):
         key_dest="/etc/sfa/node.key"
         gid_dest="/etc/sfa/node.gid" 
         scp = "/usr/bin/scp" 
-        identity = "/etc/sfa/root_ssh_key"
+        identity = "/etc/planetlab/root_ssh_key.rsa"
         scp_options=" -i %(identity)s " % locals()
         scp_options+="-o StrictHostKeyChecking=no " % locals()
         scp_key_command="%(scp)s %(scp_options)s %(key_filename)s root@%(host)s:%(key_dest)s" %\