mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_openbsd() to add create_vm() compatibility
This commit is contained in:
		
							parent
							
								
									5483823651
								
							
						
					
					
						commit
						294a0c0893
					
				
					 1 changed files with 3 additions and 8 deletions
				
			
		
							
								
								
									
										11
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1017,15 +1017,10 @@ function get_nixos() { | ||||||
| 
 | 
 | ||||||
| function get_openbsd() { | function get_openbsd() { | ||||||
|     local HASH="" |     local HASH="" | ||||||
|     local ISO="" |     local ISO="install${RELEASE//\./}.iso" | ||||||
|     local URL="" |     local URL="https://cdn.openbsd.org/pub/OpenBSD/${RELEASE}/amd64" | ||||||
| 
 |  | ||||||
|     URL="https://cdn.openbsd.org/pub/OpenBSD/${RELEASE}/amd64" |  | ||||||
|     ISO="install${RELEASE//\./}.iso" |  | ||||||
|     HASH=$(wget -q -O- "${URL}/SHA256" | grep "${ISO}" | cut -d' ' -f4) |     HASH=$(wget -q -O- "${URL}/SHA256" | 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_opensuse() { | function get_opensuse() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue