[Vmdebootstrap-devel] Use httpredir.debian.org

Martin Michlmayr tbm at hpe.com
Tue Jan 12 02:27:35 UTC 2016


While http://http.debian.net/ continues to work, it's probably better to
use the official httpredir.debian.org.
---
 bin/vmdebootstrap           | 2 +-
 doc/overview.rst            | 4 ++--
 examples/beagleboneblack.sh | 2 +-
 examples/cubietruck.sh      | 2 +-
 examples/wandboard6q.sh     | 2 +-
 yarns/900-implements.yarn   | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap
index ebaefde..277600b 100755
--- a/bin/vmdebootstrap
+++ b/bin/vmdebootstrap
@@ -87,7 +87,7 @@ class VmDebootstrap(cliapp.Application):  # pylint: disable=too-many-public-meth
         self.settings.string(['tarball'], "tar up the disk's contents in FILE", metavar='FILE')
         self.settings.string(['apt-mirror'], 'configure apt to use MIRROR', metavar='URL')
         self.settings.string(['mirror'], 'use MIRROR as package source (%default)', metavar='URL',
-                             default='http://http.debian.net/debian/')
+                             default='http://httpredir.debian.org/debian/')
         self.settings.string(['arch'], 'architecture to use (%default)', metavar='ARCH',
                              default=default_arch)
         self.settings.string(['distribution'], 'release to use (%default)', metavar='NAME',
diff --git a/doc/overview.rst b/doc/overview.rst
index 663f685..2935e11 100644
--- a/doc/overview.rst
+++ b/doc/overview.rst
@@ -41,7 +41,7 @@ Options
  --image=FILE          put created disk image in FILE
  --size=SIZE           create a disk image of size SIZE (1000000000)
  --tarball=FILE        tar up the disk's contents in FILE
- --mirror=URL          use MIRROR as package source (http://http.debian.net/debian/)
+ --mirror=URL          use MIRROR as package source (http://httpredir.debian.org/debian/)
  --arch=ARCH           architecture to use (amd64) --- if using an
                        architecture which the host system cannot execute,
                        ensure the ``--foreign`` option is also used.
@@ -513,7 +513,7 @@ mirror is strongly recommended.
 
  $ sudo yarns/run-tests --env TESTS=build --env MIRROR=http://mirror/debian
 
-If ``MIRROR`` is not specified, a default mirror of ``http://http.debian.net/debian/``
+If ``MIRROR`` is not specified, a default mirror of ``http://httpredir.debian.org/debian/``
 will be used.
 
 LAVA tests
diff --git a/examples/beagleboneblack.sh b/examples/beagleboneblack.sh
index 061c985..8205bba 100755
--- a/examples/beagleboneblack.sh
+++ b/examples/beagleboneblack.sh
@@ -6,7 +6,7 @@ user=`whoami`
 
 sudo vmdebootstrap \
  --owner ${user} --verbose \
- --mirror http://http.debian.net/debian \
+ --mirror http://httpredir.debian.org/debian \
  --log beaglebone-black.log --log-level debug \
  --arch armhf \
  --foreign /usr/bin/qemu-arm-static \
diff --git a/examples/cubietruck.sh b/examples/cubietruck.sh
index f1c05e7..9f1cfd2 100755
--- a/examples/cubietruck.sh
+++ b/examples/cubietruck.sh
@@ -7,7 +7,7 @@ user=`whoami`
 sudo vmdebootstrap \
  --owner ${user} --verbose \
  --size 3G \
- --mirror http://http.debian.net/debian \
+ --mirror http://httpredir.debian.org/debian \
  --log cubietruck.log --log-level debug \
  --arch armhf \
  --foreign /usr/bin/qemu-arm-static \
diff --git a/examples/wandboard6q.sh b/examples/wandboard6q.sh
index ed064f3..44b8ff0 100755
--- a/examples/wandboard6q.sh
+++ b/examples/wandboard6q.sh
@@ -11,7 +11,7 @@ user=`whoami`
 sudo ./vmdebootstrap \
  --owner ${user} --verbose \
  --size 3G \
- --mirror http://http.debian.net/debian \
+ --mirror http://httpredir.debian.org/debian \
  --log wandboard.log --log-level debug \
  --arch armhf \
  --foreign /usr/bin/qemu-arm-static \
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index 9f3d92b..bf49b35 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -41,7 +41,7 @@ but it's actually restricted to vmdebootstrap in the source tree.
     IMPLEMENTS WHEN the user runs vmdebootstrap (.*)
     PYTHONPATH="$SRCDIR" "$SRCDIR/bin/vmdebootstrap" \
         --image "$IMAGE" \
-        --mirror ${MIRROR:=http://http.debian.net/debian/} \
+        --mirror ${MIRROR:=http://httpredir.debian.org/debian/} \
         --size "$IMAGE_SIZE" \
         $MATCH_1
 
-- 
2.1.4



More information about the Vmdebootstrap-devel mailing list