mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor get_elementary() to add create_vm() compatibility
This commit is contained in:
		
							parent
							
								
									cf231a8e2c
								
							
						
					
					
						commit
						0a1877d4c3
					
				
					 1 changed files with 4 additions and 8 deletions
				
			
		
							
								
								
									
										12
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								quickget
									
										
									
									
									
								
							|  | @ -771,14 +771,10 @@ function get_devuan() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_elementary() { | function get_elementary() { | ||||||
|     local ISO="" |     local HASH="" | ||||||
|     local ISOTAG="20211218-rc" |     local ISO="elementaryos-${RELEASE}-stable.20211218-rc.iso" | ||||||
|     local URL="" |     local URL="https://ams3.dl.elementary.io/download" | ||||||
| 
 |     echo "${URL}/$(date +%s | base64)/${ISO} ${HASH}" | ||||||
|     ISO="elementaryos-${RELEASE}-stable.${ISOTAG}.iso" |  | ||||||
|     URL="https://ams3.dl.elementary.io/download/$(date +%s | base64)=/${ISO}" |  | ||||||
|     web_get "${URL}" "${VM_PATH}" |  | ||||||
|     make_vm_config "${ISO}" |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function get_fedora() { | function get_fedora() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue