Select the fastest mirror of repos 21/29621/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 2 Mar 2017 08:40:16 +0000 (12:40 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 2 Mar 2017 08:40:16 +0000 (12:40 +0400)
apt-get supports a "mirror" method that will automatically
select a closest mirror based on geographical location.

Change-Id: I15d345de759e616a705abcdec3588ea4b9409d0a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
deploy/config/dea_base.yaml

index 194df7b..5620bd4 100644 (file)
@@ -731,19 +731,19 @@ settings:
           section: main universe multiverse
           suite: xenial
           type: deb
-          uri: http://archive.ubuntu.com/ubuntu/
+          uri: mirror://mirrors.ubuntu.com/mirrors.txt
         - name: ubuntu-updates
           priority: null
           section: main universe multiverse
           suite: xenial-updates
           type: deb
-          uri: http://archive.ubuntu.com/ubuntu/
+          uri: mirror://mirrors.ubuntu.com/mirrors.txt
         - name: ubuntu-security
           priority: null
           section: main universe multiverse
           suite: xenial-security
           type: deb
-          uri: http://archive.ubuntu.com/ubuntu/
+          uri: mirror://mirrors.ubuntu.com/mirrors.txt
         - name: mos
           priority: 1050
           section: main restricted