mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add netboot.xyz. Closes #351
This commit is contained in:
		
							parent
							
								
									b9ca7a39f8
								
							
						
					
					
						commit
						596ffa86a6
					
				
					 2 changed files with 18 additions and 0 deletions
				
			
		
							
								
								
									
										17
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										17
									
								
								quickget
									
										
									
									
									
								
							|  | @ -51,6 +51,7 @@ function pretty_name() { | |||
|     kolibrios)          PRETTY_NAME="KolibriOS";; | ||||
|     linuxmint)          PRETTY_NAME="Linux Mint";; | ||||
|     mxlinux)            PRETTY_NAME="MX Linux";; | ||||
|     netboot)            PRETTY_NAME="netboot.xyz";; | ||||
|     nixos)              PRETTY_NAME="NixOS";; | ||||
|     macos)              PRETTY_NAME="macOS";; | ||||
|     openbsd)            PRETTY_NAME="OpenBSD";; | ||||
|  | @ -180,6 +181,7 @@ function os_support() { | |||
|     linuxmint \ | ||||
|     manjaro \ | ||||
|     mxlinux \ | ||||
|     netboot \ | ||||
|     nixos \ | ||||
|     lubuntu \ | ||||
|     macos \ | ||||
|  | @ -361,6 +363,10 @@ function releases_manjaro() { | |||
|     mate | ||||
| } | ||||
| 
 | ||||
| function releases_netboot() { | ||||
|   echo latest | ||||
| } | ||||
| 
 | ||||
| function releases_nixos(){ | ||||
|     echo 21.05 \ | ||||
|     21.11 | ||||
|  | @ -1119,6 +1125,17 @@ function get_mxlinux() { | |||
|     make_vm_config "${ISO}" | ||||
| } | ||||
| 
 | ||||
| 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}" | ||||
| } | ||||
| 
 | ||||
| function get_nixos() { | ||||
|     local EDITION="" | ||||
|     local HASH="" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue