mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
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
This commit is contained in:
parent
608de63d3e
commit
f5de2fbc0d
2 changed files with 2 additions and 2 deletions
|
@ -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})
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue