From dbb9124666a875ccadbc8a0245ab0fcd5643f5a9 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Fri, 25 Jan 2013 17:06:28 +0100 Subject: [PATCH] Use http.debian.net as default Debian mirror if no mirror is given ... i.e. if even xt-guess-suite-and-mirror is not used. --- bin/xen-create-image | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/xen-create-image b/bin/xen-create-image index f3e40cd..6ec4605 100755 --- a/bin/xen-create-image +++ b/bin/xen-create-image @@ -1323,7 +1323,7 @@ sub setupDefaultOptions # Initialize per distribution mirror defaults: Debian foreach my $debdist (qw(squeeze wheezy jessie sid testing oldstable stable unstable)) { - $CONFIG{ 'mirror_'.$debdist } = $CONFIG{ 'mirror' } + $CONFIG{ 'mirror_'.$debdist } = 'http://http.debian.net/debian'; } foreach my $debdist (qw(sarge etch lenny)) { $CONFIG{ 'mirror_'.$debdist } = 'http://archive.debian.org/debian-archive/debian'; diff --git a/debian/changelog b/debian/changelog index 136c4cb..bb7db7b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ xen-tools (4.4~dev-1) UNRELEASED; urgency=low * New upstream release - Code deduplication to unify the xen-*-image scripts + - Use http.debian.net as default Debian mirror if no mirror is given + and xt-guess-suite-and-mirror is not used. - Fix symbolic link hooks/centos-6/15-setup-arch (Closes: #690299) - Execute END block not on --version/--help/--manual (Closes: #684346) - Move code for --boot feature to END block. Fixes missing SSH -- 2.39.5