mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	fix 4404d59: clone instance cannot set new vname
				
					
				
			This commit is contained in:
		
							parent
							
								
									5e8adec424
								
							
						
					
					
						commit
						19489cb08e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -706,7 +706,7 @@ def instance(request, compute_id, vname): | |||
|                     for post in request.POST: | ||||
|                         clone_data[post] = request.POST.get(post, '').strip() | ||||
|                      | ||||
|                     if clone_instance_auto_name: | ||||
|                     if clone_instance_auto_name and not clone_data['name']: | ||||
|                         auto_vname = clone_free_names[0] | ||||
|                         clone_data['name'] = auto_vname | ||||
|                         clone_data['clone-net-mac-0'] = _get_dhcp_mac_address(auto_vname) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue