Use oneadmin_client to update a user's ssh key
This commit is contained in:
		
					parent
					
						
							
								72ea362d01
							
						
					
				
			
			
				commit
				
					
						c99e943ebc
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -432,7 +432,7 @@ class OpenNebulaManager():
 | 
			
		|||
 | 
			
		||||
        :return:
 | 
			
		||||
        """
 | 
			
		||||
        return_value = self.client.call(
 | 
			
		||||
        return_value = self.oneadmin_client.call(
 | 
			
		||||
            'user.update',
 | 
			
		||||
            self.opennebula_user.id,
 | 
			
		||||
            '<CONTEXT><SSH_PUBLIC_KEY>%s</SSH_PUBLIC_KEY></CONTEXT>' % ssh_key,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue