git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d863e5
)
fix key generation
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 5 Jul 2010 17:14:11 +0000
(17:14 +0000)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 5 Jul 2010 17:14:11 +0000
(17:14 +0000)
plugins/sliverauth.py
patch
|
blob
|
history
diff --git
a/plugins/sliverauth.py
b/plugins/sliverauth.py
index
06c5c22
..
51f44c9
100644
(file)
--- a/
plugins/sliverauth.py
+++ b/
plugins/sliverauth.py
@@
-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