X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fsliverauth.py;fp=plugins%2Fsliverauth.py;h=51f44c9c767a6aed7d4656444e508a957f0772a0;hb=dd2e4ec887d68533ab1750fceb1ad3f06df666bf;hp=06c5c22a349be1beedbba20621e76d6ab25c101f;hpb=4d863e520f0684065aca5f52e30cc033768829a8;p=nodemanager.git diff --git a/plugins/sliverauth.py b/plugins/sliverauth.py index 06c5c22..51f44c9 100644 --- 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