Permalink
Browse files

Replace cdn.debian.net with http.debian.net

Visit http://http.debian.net/ for details.

Also drop the "mirror selected via geo-ip" from the comments as
it's missleading if the deb line gets replaced for RELEASE builds
with snapshot.debian.org.
  • Loading branch information...
1 parent 40f7c44 commit 0533a725f51aa9759cf12312cff52a50756ba47e @mika mika committed Jul 2, 2012
View
@@ -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://cdn.debian.net/debian/"
+ FAI_DEBOOTSTRAP="wheezy http://http.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://cdn.debian.net/debian
+ debootstrap squeeze "$BASECHROOT" http://http.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/cdn.debian.net/debian squeeze main contrib non-free"
+ FAI_DEBOOTSTRAP="squeeze http://localhost:3142/http.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.
@@ -1,6 +1,6 @@
-# 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://http.debian.net/debian/ etch main contrib non-free
+ deb-src http://http.debian.net/debian/ etch main contrib non-free
# official debian repository:
# deb http://ftp.debian.org/debian/ etch main contrib non-free
@@ -1,6 +1,6 @@
-# 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
+# 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
# security updates:
deb http://security.debian.org/ lenny/updates main contrib
@@ -1,6 +1,6 @@
-# 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://http.debian.net/debian/ sid main contrib non-free
+ deb-src http://http.debian.net/debian/ sid main contrib non-free
# official debian repository:
# deb http://ftp.debian.org/debian/ sid main contrib non-free
@@ -1,6 +1,6 @@
-# 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
+# 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
# security updates:
deb http://security.debian.org/ squeeze/updates main contrib
@@ -1,6 +1,6 @@
-# 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
+# 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
# security updates:
deb http://security.debian.org/ stable/updates main contrib
@@ -1,6 +1,6 @@
-# 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
+# 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
# security updates:
deb http://security.debian.org/ testing/updates main contrib
@@ -1,6 +1,6 @@
-# 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://http.debian.net/debian/ unstable main contrib non-free
+ deb-src http://http.debian.net/debian/ unstable main contrib non-free
# official debian repository:
# deb http://ftp.debian.org/debian/ unstable main contrib non-free
@@ -1,6 +1,6 @@
-# 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
+# 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
# security updates:
deb http://security.debian.org/ wheezy/updates main contrib
@@ -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.* )(.*://cdn.*?)\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.* )(.*://http.debian.net.*?)\s+(\w+)\s+(.*)$#$1$2http://snapshot.debian.org/archive/debian/$d/ $4 $5#' \
"${target}/etc/apt/sources.list.d/debian.list"
fi
View
@@ -66,7 +66,7 @@
# Which Debian suite and which mirror do you want to use for debootstrapping?
# Usage: "<suite> <mirror>"
-# FAI_DEBOOTSTRAP="squeeze http://cdn.debian.net/debian"
+# FAI_DEBOOTSTRAP="squeeze http://http.debian.net/debian"
# Do you want to use a local mirror (like NFS)?
# If so specify the directory where debian/ is available:
View
@@ -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 cdn.debian.net
+update_from http.debian.net
# since this mirror is not always up to date, sync the rest from an official mirror
-# update_from cdn.debian.net
+# update_from http.debian.net
# even one should not mirror the security site, but I will do it.
echo "------------------ create mirror for debian-security ------------------"
@@ -1,4 +1,4 @@
Name: debian
-Method: http://cdn.debian.net/debian/
+Method: http://http.debian.net/debian/
# Method: http://localhost/debian/
# Fallback: http://snapshot.debian.net/archive/2007/04/02/debian/
View
@@ -617,7 +617,7 @@ fi
# generate nfsroot configuration for FAI on the fly
if [ -z "$FAI_DEBOOTSTRAP" ] ; then
- FAI_DEBOOTSTRAP="$SUITE http://cdn.debian.net/debian"
+ FAI_DEBOOTSTRAP="$SUITE http://http.debian.net/debian"
fi
if [ -z "$FAI_DEBOOTSTRAP_OPTS" ] ; then
@@ -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://cdn.debian.net/debian
+ mirror= specify mirror for apt-get/aptitude, e,g.: mirror=http://http.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://cdn.debian.net/debian password=foobar
+ debian2hd target=/dev/sda1 grub=/dev/sda mirror=http://http.debian.net/debian password=foobar
See http://grml.org/grml-debootstrap/ for more information.

0 comments on commit 0533a72

Please sign in to comment.