mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_fedora() to add create_vm() compatibility
This commit is contained in:
		
							parent
							
								
									0a1877d4c3
								
							
						
					
					
						commit
						8af32ca26c
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		
							
								
								
									
										5
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickget
									
										
									
									
									
								
							|  | @ -792,11 +792,8 @@ function get_fedora() { | |||
| 
 | ||||
|     JSON=$(wget -q -O- "https://getfedora.org/releases.json" | jq '.[] | select(.variant=="'${VARIANT}'" and .subvariant=="'"${EDITION}"'" and .arch=="x86_64" and .version=="'"${RELEASE}"'")') | ||||
|     URL=$(echo "${JSON}" | jq -r '.link' | head -n1) | ||||
|     ISO="${URL##*/}" | ||||
|     HASH=$(echo "${JSON}" | jq -r '.sha256' | head -n1) | ||||
|     web_get "${URL}" "${VM_PATH}" | ||||
|     check_hash "${ISO}" "${HASH}" | ||||
|     make_vm_config "${ISO}" | ||||
|     echo "${URL} ${HASH}" | ||||
| } | ||||
| 
 | ||||
| function get_freebsd() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue