Revert "Replace cdn.debian.net with http.debian.net"
authorMichael Prokop <mika@grml.org>
Thu, 12 Jul 2012 18:42:16 +0000 (20:42 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 12 Jul 2012 18:42:16 +0000 (20:42 +0200)
This reverts commit 0533a725f51aa9759cf12312cff52a50756ba47e.
"E: Method gave invalid 200 URI Start message" seems to be
related to http.debian.net

15 files changed:
docs/grml-live.txt
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_ETCH
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_LENNY
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_SID
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_SQUEEZE
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_STABLE
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_TESTING
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_UNSTABLE
etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_WHEEZY
etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
etc/grml/grml-live.conf
examples/mkdebmirror
examples/reprepro/conf/updates
grml-live
templates/GRML/grml-cheatcodes.txt

index 41f36da..df23631 100644 (file)
@@ -538,7 +538,7 @@ Instructions
   # CHROOT_INSTALL="/etc/grml/fai/chroot_install"
   ## adjust if necessary (defaults to /grml/grml-live):
   ## OUTPUT="/srv/grml-live"
-  FAI_DEBOOTSTRAP="wheezy http://http.debian.net/debian/"
+  FAI_DEBOOTSTRAP="wheezy http://cdn.debian.net/debian/"
   # ARCH="amd64"
   CLASSES="GRMLBASE,GRML_FULL,AMD64"
   EOF
@@ -651,7 +651,7 @@ How do I create a base.tgz?
 First of all create the chroot using debootstrap:
 
   BASECHROOT='/tmp/basefile'
-  debootstrap squeeze "$BASECHROOT" http://http.debian.net/debian
+  debootstrap squeeze "$BASECHROOT" http://cdn.debian.net/debian
   tar -C "$BASECHROOT" --exclude='var/cache/apt/archives/*.deb' -zcf base.tar.gz ./
 
 [TIP]
@@ -684,7 +684,7 @@ FAI_DEBOOTSTRAP:
   [...]
   APT_PROXY="http://localhost:3142/"
   [...]
-  FAI_DEBOOTSTRAP="squeeze http://localhost:3142/http.debian.net/debian squeeze main contrib non-free"
+  FAI_DEBOOTSTRAP="squeeze http://localhost:3142/cdn.debian.net/debian squeeze main contrib non-free"
 
 Make sure apt-cacher-ng is running ('/etc/init.d/apt-cacher-ng restart').
 That's it.  All downloaded files will be cached in /var/cache/apt-cacher-ng then.
index 7800fc5..1ece67b 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ etch main contrib non-free
-  deb-src http://http.debian.net/debian/ etch main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ etch main contrib non-free
+  deb-src http://cdn.debian.net/debian/ etch main contrib non-free
 
 # official debian repository:
 #  deb     http://ftp.debian.org/debian/ etch main contrib non-free
index 7a904d2..b6ced67 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ lenny main contrib non-free
-  deb-src http://http.debian.net/debian/ lenny main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ lenny main contrib non-free
+  deb-src http://cdn.debian.net/debian/ lenny main contrib non-free
 
 # security updates:
   deb     http://security.debian.org/ lenny/updates main contrib
index 5f6d8ac..332a6e7 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ sid main contrib non-free
-  deb-src http://http.debian.net/debian/ sid main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ sid main contrib non-free
+  deb-src http://cdn.debian.net/debian/ sid main contrib non-free
 
 # official debian repository:
 #  deb     http://ftp.debian.org/debian/ sid main contrib non-free
index 14c9406..c7d9f91 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ squeeze main contrib non-free
-  deb-src http://http.debian.net/debian/ squeeze main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ squeeze main contrib non-free
+  deb-src http://cdn.debian.net/debian/ squeeze main contrib non-free
 
 # security updates:
   deb     http://security.debian.org/ squeeze/updates main contrib
index bd35b3b..f88eba7 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ stable main contrib non-free
-  deb-src http://http.debian.net/debian/ stable main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ stable main contrib non-free
+  deb-src http://cdn.debian.net/debian/ stable main contrib non-free
 
 # security updates:
   deb     http://security.debian.org/ stable/updates main contrib
index 7a1d96d..33dc13e 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ testing main contrib non-free
-  deb-src http://http.debian.net/debian/ testing main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ testing main contrib non-free
+  deb-src http://cdn.debian.net/debian/ testing main contrib non-free
 
 # security updates:
   deb     http://security.debian.org/ testing/updates main contrib
index 760baa0..d2d15f6 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ unstable main contrib non-free
-  deb-src http://http.debian.net/debian/ unstable main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ unstable main contrib non-free
+  deb-src http://cdn.debian.net/debian/ unstable main contrib non-free
 
 # official debian repository:
 #  deb     http://ftp.debian.org/debian/ unstable main contrib non-free
index e2b2bc4..d850455 100644 (file)
@@ -1,6 +1,6 @@
-# official debian repository:
-  deb     http://http.debian.net/debian/ wheezy main contrib non-free
-  deb-src http://http.debian.net/debian/ wheezy main contrib non-free
+# official debian repository (mirror selected via geo-ip):
+  deb     http://cdn.debian.net/debian/ wheezy main contrib non-free
+  deb-src http://cdn.debian.net/debian/ wheezy main contrib non-free
 
 # security updates:
   deb     http://security.debian.org/ wheezy/updates main contrib
index 678b42b..39af509 100755 (executable)
@@ -11,7 +11,7 @@ set -e
 # use snapshot.debian.org based on build date for release
 if ifclass RELEASE ; then
   set -u
-  perl -pi -e 'BEGIN { $d="'$(date +%Y%m%d)'"; } s#^(\s+)(deb.* )(.*://http.debian.net.*?)\s+(\w+)\s+(.*)$#$1$2http://snapshot.debian.org/archive/debian/$d/ $4 $5#' \
+  perl -pi -e 'BEGIN { $d="'$(date +%Y%m%d)'"; } s#^(\s+)(deb.* )(.*://cdn.*?)\s+(\w+)\s+(.*)$#$1$2http://snapshot.debian.org/archive/debian/$d/ $4 $5#' \
     "${target}/etc/apt/sources.list.d/debian.list"
 
 fi
index 7f47acd..5381688 100644 (file)
@@ -66,7 +66,7 @@
 
 # Which Debian suite and which mirror do you want to use for debootstrapping?
 # Usage: "<suite> <mirror>"
-# FAI_DEBOOTSTRAP="squeeze http://http.debian.net/debian"
+# FAI_DEBOOTSTRAP="squeeze http://cdn.debian.net/debian"
 
 # Do you want to use a local mirror (like NFS)?
 # If so specify the directory where debian/ is available:
index c010592..915a986 100644 (file)
@@ -30,10 +30,10 @@ allopt="$debug --ignore-missing-release --ignore-release-gpg --passive --nosourc
 # first sync from a mirror near to you!
 # please ask the mirror admin(s) for permission before downloading
 # several GB of data!
-update_from http.debian.net
+update_from cdn.debian.net
 
 # since this mirror is not always up to date, sync the rest from an official mirror
-# update_from http.debian.net
+# update_from cdn.debian.net
 
 # even one should not mirror the security site, but I will do it.
 echo "------------------ create mirror for debian-security ------------------"
index 00ac330..cdf72bc 100644 (file)
@@ -1,4 +1,4 @@
 Name: debian
-Method: http://http.debian.net/debian/
+Method: http://cdn.debian.net/debian/
 # Method: http://localhost/debian/
 # Fallback: http://snapshot.debian.net/archive/2007/04/02/debian/
index 49df530..45b93e6 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -617,7 +617,7 @@ fi
 
 # generate nfsroot configuration for FAI on the fly
 if [ -z "$FAI_DEBOOTSTRAP" ] ; then
-  FAI_DEBOOTSTRAP="$SUITE http://http.debian.net/debian"
+  FAI_DEBOOTSTRAP="$SUITE http://cdn.debian.net/debian"
 fi
 
 if [ -z "$FAI_DEBOOTSTRAP_OPTS" ] ; then
index ce7a108..d652778 100644 (file)
@@ -249,12 +249,12 @@ debian2hd <options>                 ... whereas valid options for debian2hd are:
   target=       target partition/directory of the new Debian system, e.g.: target=/dev/sda1
   grub=         where to install grub to, e.g.: grub=/dev/sda
   release=      specify release of new Debian system (default is stable), e.g.: release=sid
-  mirror=       specify mirror for apt-get/aptitude, e,g.: mirror=http://http.debian.net/debian
+  mirror=       specify mirror for apt-get/aptitude, e,g.: mirror=http://cdn.debian.net/debian
   password=     set passwort of user root without prompting for it, e.g.: password=AiTh5ahn
 
   Usage example for automatic installation:
 
-    debian2hd target=/dev/sda1 grub=/dev/sda mirror=http://http.debian.net/debian password=foobar
+    debian2hd target=/dev/sda1 grub=/dev/sda mirror=http://cdn.debian.net/debian password=foobar
 
   See http://grml.org/grml-debootstrap/ for more information.