From f5de2fbc0db36894fa75cb3c3ed104b0829be264 Mon Sep 17 00:00:00 2001 From: Tiago Ilieve Date: Fri, 7 Aug 2015 18:16:14 -0300 Subject: [PATCH] Changes default Debian mirror Although it isn't yet deprecated by the wiki[1], the Debian mirrors HTTP redirector names itself as `httpredir.debian.org`, even when accessed at `http.debian.net`. [1]: https://wiki.debian.org/DebianGeoMirror --- bootstrapvz/base/bootstrapinfo.py | 2 +- manifests/README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrapvz/base/bootstrapinfo.py b/bootstrapvz/base/bootstrapinfo.py index 2990d24..30a54f3 100644 --- a/bootstrapvz/base/bootstrapinfo.py +++ b/bootstrapvz/base/bootstrapinfo.py @@ -29,7 +29,7 @@ class BootstrapInformation(object): self.volume = load_volume(self.manifest.volume, manifest.system['bootloader']) # The default apt mirror - self.apt_mirror = self.manifest.packages.get('mirror', 'http://http.debian.net/debian') + self.apt_mirror = self.manifest.packages.get('mirror', 'http://httpredir.debian.org/debian/') # Create the manifest_vars dictionary self.manifest_vars = self.__create_manifest_vars(self.manifest, {'apt_mirror': self.apt_mirror}) diff --git a/manifests/README.rst b/manifests/README.rst index 8422bcf..5a32501 100644 --- a/manifests/README.rst +++ b/manifests/README.rst @@ -159,7 +159,7 @@ variety of sources. Default: ``false`` - ``mirror``: The default aptitude mirror. ``optional`` - Default: ``http://http.debian.net/debian`` + Default: ``http://httpredir.debian.org/debian/`` - ``sources``: A map of additional sources that should be added to the aptitude sources list. The key becomes the filename in ``/etc/apt/sources.list.d/`` (with ``.list`` appended to it), while