fix key generation
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Mon, 5 Jul 2010 17:14:11 +0000 (17:14 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Mon, 5 Jul 2010 17:14:11 +0000 (17:14 +0000)
plugins/sliverauth.py

index 06c5c22..51f44c9 100644 (file)
@@ -96,7 +96,7 @@ def generate_sshkey (sliver):
 #    keyfile="/vservers/%s/home/%s/.ssh/id_rsa"%(sliver['name'],sliver['name'])
 # we're now storing this in the same place as the authorized_keys, which in turn
 # gets mounted to the user's home directory in the sliver
-    keyfile="/home/%s/.ssh/id_rsa"%(sliver['name'],sliver['name'])
+    keyfile="/home/%s/.ssh/id_rsa"%(sliver['name'])
     pubfile="%s.pub"%keyfile
     dotssh=os.path.dirname(keyfile)
     # create dir if needed