mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	patch for cloning rbd images
This commit is contained in:
		
							parent
							
								
									3b4a1089c3
								
							
						
					
					
						commit
						6486c20168
					
				
					 2 changed files with 28 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1279,6 +1279,8 @@
 | 
			
		|||
            image = new_vname + "-" + disk_minus_suffix;
 | 
			
		||||
        } else if (disk_name.lastIndexOf('.') > -1 && disk_dot_suffix.length <= 7) {
 | 
			
		||||
            image = new_vname + "." + disk_dot_suffix
 | 
			
		||||
        } else if (new_vname != disk_name) {
 | 
			
		||||
            image = new_vname
 | 
			
		||||
        } else {
 | 
			
		||||
            image = new_vname + '-clone';
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue