On 08/16/2015 07:40 PM, Sunil Mohan Adapa wrote:
> Package: freedombox-setup
> Version: 0.5
> Severity: minor
> 
> httpredir.debian.org is officially preferred over http.debian.net (an under-
> development URL).
> 
> See: https://wiki.debian.org/DebianGeoMirror

Attached patch makes the change.  It is not tested as we don't use LXC
really anywhere.

-- 
Sunil

From 76b43655057195c5958ea8cb96a22762177a661a Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa <su...@medhas.org>
Date: Mon, 24 Aug 2015 22:19:20 +0530
Subject: [PATCH] Change httpredir.debian.org to http.debian.net

- httpredir.debian.org is officially recommended over http.debian.net
  which was a test service.
---
 preseed/preseed-jessie.dat | 2 +-
 preseed/preseed-wheezy.dat | 2 +-
 setup.d/20_lxc             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/preseed/preseed-jessie.dat b/preseed/preseed-jessie.dat
index 6cab2c6..6b7b825 100644
--- a/preseed/preseed-jessie.dat
+++ b/preseed/preseed-jessie.dat
@@ -14,7 +14,7 @@ d-i     popularity-contest/participate boolean false
 choose-mirror-bin     mirror/codename string  jessie
 choose-mirror-bin     mirror/country          string  manual
 choose-mirror-bin     mirror/protocol select  http
-choose-mirror-bin     mirror/http/hostname    string  http.debian.net
+choose-mirror-bin     mirror/http/hostname    string  httpredir.debian.org
 choose-mirror-bin     mirror/http/directory   string  /debian/
 
 # Add Petters freedombox repository
diff --git a/preseed/preseed-wheezy.dat b/preseed/preseed-wheezy.dat
index 1755eae..bdc3a8d 100644
--- a/preseed/preseed-wheezy.dat
+++ b/preseed/preseed-wheezy.dat
@@ -13,7 +13,7 @@ d-i     popularity-contest/participate boolean false
 # Avoid questions about mirrors, using manual setup
 choose-mirror-bin     mirror/country          string  manual
 choose-mirror-bin     mirror/protocol select  http
-choose-mirror-bin     mirror/http/hostname    string  http.debian.net
+choose-mirror-bin     mirror/http/hostname    string  httpredir.debian.org
 choose-mirror-bin     mirror/http/directory   string  /debian/
 
 # Add Petters freedombox repository
diff --git a/setup.d/20_lxc b/setup.d/20_lxc
index 99cf06f..f141de9 100755
--- a/setup.d/20_lxc
+++ b/setup.d/20_lxc
@@ -8,7 +8,7 @@
 create_lxc_box() {
     virtname="$1"
     pkgs="$2"
-    MIRROR=http://http.debian.net/debian \
+    MIRROR=http://httpredir.debian.org/debian \
 	SUITE=wheezy \
 	lxc-create -n "$virtname" -t debian-freedombox
     if [ "$pkgs" ] ; then
-- 
2.1.4

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to