Add user generated public ssh keys as well
This commit is contained in:
		
					parent
					
						
							
								9753dfd2fc
							
						
					
				
			
			
				commit
				
					
						35f129a4c7
					
				
			
		
					 1 changed files with 12 additions and 13 deletions
				
			
		|  | @ -355,7 +355,6 @@ class GenerateVMSSHKeysView(LoginRequiredMixin, FormView): | |||
|         manager.oneadmin_client.call('user.update', opennebula_user.id, | ||||
|                                      '<CONTEXT><SSH_PUBLIC_KEY>{ssh_key}</SSH_PUBLIC_KEY></CONTEXT>'.format(ssh_key=user_key.public_key)) | ||||
| 
 | ||||
|         # return HttpResponseRedirect(reverse('hosting:key_pair')) | ||||
|         return render(self.request, self.template_name, context) | ||||
| 
 | ||||
|     def post(self, request, *args, **kwargs): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue