Switch default mirror from httpredir.debian.org to deb.debian.org
authorMichael Prokop <mika@grml.org>
Mon, 23 Jul 2018 07:07:30 +0000 (09:07 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 23 Jul 2018 07:25:25 +0000 (09:25 +0200)
httpredir.debian.org forwards to deb.debian.org
nowadays, provided by Fastly and Amazon CloudFront.

config
grml-debootstrap
grml-debootstrap.8.txt

diff --git a/config b/config
index b86b997..c4d3b8e 100644 (file)
--- a/config
+++ b/config
@@ -37,7 +37,7 @@
 
 # Set mirror where packages will be downloaded from.
 # Default: use /etc/debootstrap/etc/apt/sources.list if it exists, else
-# 'http://httpredir.debian.org/debian'
+# 'http://deb.debian.org/debian'
 # Usage example:
 # MIRROR='ftp://ftp.de.debian.org/debian'
 
index 916ee74..1c5d8b7 100755 (executable)
@@ -58,7 +58,7 @@ MNTPOINT="/mnt/debootstrap.$$"
 [ -n "$DEFAULT_LOCALES" ] || DEFAULT_LOCALES='en_US.UTF-8'
 [ -n "$DISK_IDENTIFIER" ] || DISK_IDENTIFIER='26ada0c0-1165-4098-884d-aafd2220c2c6'
 [ -n "$EXTRAPACKAGES" ] || EXTRAPACKAGES='yes'
-[ -n "$FALLBACK_MIRROR" ] || FALLBACK_MIRROR='http://httpredir.debian.org/debian'
+[ -n "$FALLBACK_MIRROR" ] || FALLBACK_MIRROR='http://deb.debian.org/debian'
 [ -n "$FIXED_DISK_IDENTIFIERS" ] || FIXED_DISK_IDENTIFIERS="no"
 [ -n "$FORCE" ] || FORCE=''
 [ -n "$HOSTNAME" ] || HOSTNAME='grml'
@@ -818,7 +818,7 @@ prompt_for_mirror()
   [ $? -eq 0 ] || bailout
 
   if [ "$CHOOSE_MIRROR" = 'net' ] ; then
-     [ -n "$MIRROR" ] || MIRROR='http://httpredir.debian.org/debian'
+     [ -n "$MIRROR" ] || MIRROR='http://deb.debian.org/debian'
      MIRROR="$(dialog --stdout --title "${PN}" --inputbox \
                "Please enter Debian mirror you would like to use for installing packages." \
                0 0 $MIRROR)"
index 46af45e..7fe365c 100644 (file)
@@ -287,7 +287,7 @@ any bootloader).
 
 Install default Debian release (stretch) on /dev/sda3 and install bootmanager
 Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition.
-Use specified mirror instead of the default (http://httpredir.debian.org/debian) one.
+Use specified mirror instead of the default (http://deb.debian.org/debian) one.
 
   mount /dev/sda1 /mnt/sda1
   grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img
@@ -374,7 +374,7 @@ releases: lenny, squeeze, wheezy, jessie, stretch and sid. Usage example: releas
   mirror=...
 
 Specify mirror which should be used for apt-get/aptitude instead
-of the default one (http://httpredir.debian.org/debian).
+of the default one (http://deb.debian.org/debian).
 Usage example: mirror=ftp://ftp.tugraz.at/mirror/debian
 
   password=...
@@ -411,7 +411,7 @@ anymore unless you really know what you are doing. Choose the current Debian
 stable version instead.
 
 Notice that you need to specify a mirror providing the lenny/squeeze releases, the
-default (http://httpredir.debian.org/debian) doesn't provide it any longer nowadays.
+default (http://deb.debian.org/debian) doesn't provide it any longer nowadays.
 Set the mirror to e.g. http://archive.debian.org/debian/ if you don't have
 your own lenny/squeeze mirror.