mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Use geo-distributed mirror for Alma URL
Rackspace's mirror network is geographically distributed. Requesting the mirror.rackspace.com endpoint will point you at the closest mirror to your location. It will even route you to the next nearest mirror in the case of an outage. Hard coding this to the lon.mirror.rackspace.com endpoint forces every user to route through London, regardless of their location.
This commit is contained in:
		
							parent
							
								
									0762a2abd6
								
							
						
					
					
						commit
						387d05615a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1006,7 +1006,7 @@ function get_alma() { | |||
|     local EDITION="${1:-}" | ||||
|     local HASH="" | ||||
|     local ISO="AlmaLinux-${RELEASE}-x86_64-${EDITION}.iso" | ||||
|     local URL="http://lon.mirror.rackspace.com/almalinux/${RELEASE/beta-1/beta}/isos/x86_64/" | ||||
|     local URL="https://mirror.rackspace.com/almalinux/${RELEASE/beta-1/beta}/isos/x86_64/" | ||||
|     HASH="$(wget -q -O- "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)" | ||||
|     echo "${URL}/${ISO} ${HASH}" | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue