Change VM terminate action from terminate to terminate hard
This commit is contained in:
		
					parent
					
						
							
								15db1c88d7
							
						
					
				
			
			
				commit
				
					
						6546814d62
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -315,7 +315,7 @@ class OpenNebulaManager():
 | 
				
			||||||
        return vm_id
 | 
					        return vm_id
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def delete_vm(self, vm_id):
 | 
					    def delete_vm(self, vm_id):
 | 
				
			||||||
        TERMINATE_ACTION = 'terminate'
 | 
					        TERMINATE_ACTION = 'terminate-hard'
 | 
				
			||||||
        vm_terminated = False
 | 
					        vm_terminated = False
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            self.oneadmin_client.call(
 | 
					            self.oneadmin_client.call(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue