mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_dragonflybsd() to support create_vm()
This commit is contained in:
		
							parent
							
								
									4f201949cd
								
							
						
					
					
						commit
						5ac9a848eb
					
				
					 1 changed files with 3 additions and 7 deletions
				
			
		
							
								
								
									
										10
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								quickget
									
										
									
									
									
								
							|  | @ -790,15 +790,11 @@ function get_devuan() { | ||||||
| 
 | 
 | ||||||
| function get_dragonflybsd() { | function get_dragonflybsd() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="dfly-x86_64-${RELEASE}_REL.iso" | ||||||
|     local URL="" |     local URL="http://mirror-master.dragonflybsd.org/iso-images" | ||||||
| 
 | 
 | ||||||
|     URL="http://mirror-master.dragonflybsd.org/iso-images" |  | ||||||
|     ISO="dfly-x86_64-${RELEASE}_REL.iso" |  | ||||||
|     HASH=$(wget -q -O- "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4) |     HASH=$(wget -q -O- "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4) | ||||||
|     web_get "${URL}/${ISO}" "${VM_PATH}" |     echo "${URL}/${ISO} ${HASH}" | ||||||
|     check_hash "${ISO}" "${HASH}" |  | ||||||
|     make_vm_config "${ISO}" |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_elementary() { | function get_elementary() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue