mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_netboot() to add create_vm() compatibility
This commit is contained in:
		
							parent
							
								
									512aa14fe2
								
							
						
					
					
						commit
						c928d6caee
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		
							
								
								
									
										5
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickget
									
										
									
									
									
								
							|  | @ -994,11 +994,8 @@ function get_netboot() { | |||
|     local ISO="netboot.xyz.iso" | ||||
|     local HASH="" | ||||
|     local URL="https://boot.netboot.xyz/ipxe" | ||||
| 
 | ||||
|     HASH=$(wget -q -O- "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut -d' ' -f1) | ||||
|     web_get "${URL}/${ISO}" "${VM_PATH}" | ||||
|     check_hash "${ISO}" "${HASH}" | ||||
|     make_vm_config "${ISO}" | ||||
|     echo "${URL}/${ISO} ${HASH}" | ||||
| } | ||||
| 
 | ||||
| function get_netbsd() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue