Use cdn.debian.net (GeoIP) instead of ftp.debian.org by default
See http://wiki.debian.org/DebianGeoMirror for the details
This commit is contained in:
@@ -180,9 +180,13 @@ xen-create-image - Easily create new Xen instances with networking and OpenSSH.
|
||||
--mirror=url Setup the mirror to use when installing via
|
||||
debootstrap. (Default value: mirror used in
|
||||
/etc/apt/sources.list or for Debian
|
||||
"http://ftp.debian.org/debian/" and for Ubuntu
|
||||
"http://cdn.debian.net/debian/" and for Ubuntu
|
||||
"http://archive.ubuntu.com/ubuntu/")
|
||||
|
||||
The above mentioned Debian mirror hostname uses GeoIP
|
||||
to choose a more or less close Debian mirror. See
|
||||
http://wiki.debian.org/DebianGeoMirror for details.
|
||||
|
||||
--template=tmpl
|
||||
Specify which template file to use when creating the
|
||||
Xen configuration file.
|
||||
|
||||
@@ -49,8 +49,9 @@ full text of the license.
|
||||
# Fallback to Debian or Ubuntu in case we can't find anything
|
||||
my $fallback = 'Debian';
|
||||
|
||||
# Which mirrors to use if everything else fails
|
||||
my %fallback_mirror = ( Debian => 'http://ftp.debian.org/debian/',
|
||||
# Which mirrors to use if everything else fails (cdn.debian.net uses
|
||||
# GeoIP, see http://wiki.debian.org/DebianGeoMirror)
|
||||
my %fallback_mirror = ( Debian => 'http://cdn.debian.net/debian/',
|
||||
Ubuntu => 'http://archive.ubuntu.com/ubuntu/' );
|
||||
|
||||
# Which suite to use if everything else fails. For Debian "stable"
|
||||
|
||||
@@ -230,12 +230,13 @@ mirror = `xt-guess-suite-and-mirror -m`
|
||||
# If you like you could use per-distribution mirrors, which will
|
||||
# be more useful if you're working in an environment where you want
|
||||
# to regularly use multiple distributions. The following are the
|
||||
# default values used:
|
||||
# default values used (for Debian the GeoIP feature is used, see
|
||||
# http://wiki.debian.org/DebianGeoMirror):
|
||||
#
|
||||
# mirror_sarge = http://archive.debian.org/debian
|
||||
# mirror_lenny = http://ftp.debian.org/debian
|
||||
# mirror_squeeze = http://ftp.debian.org/debian
|
||||
# mirror_sid = http://ftp.debian.org/debian
|
||||
# mirror_lenny = http://cdn.debian.net/debian
|
||||
# mirror_squeeze = http://cdn.debian.net/debian
|
||||
# mirror_sid = http://cdn.debian.net/debian
|
||||
# mirror_dapper = http://archive.ubuntu.com/ubuntu
|
||||
# mirror_edgy = http://old-releases.ubuntu.com/ubuntu
|
||||
# mirror_feisty = http://old-releases.ubuntu.com/ubuntu
|
||||
|
||||
Reference in New Issue
Block a user