Skip to content

Commit

Permalink
Revert "Change APT to use mirror protocol"
Browse files Browse the repository at this point in the history
This reverts commit d6d9d28.

We are seeing intermittent/context specific failures that seem
to affect certain users.  The theory is that there might be
inconsistencies in the mirror CDN network.  Lets try walking
this back and see if things improve.

Change-Id: I4d9a840cc67644803dfbeb70568fa18c8486514c
Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Aug 31, 2016
1 parent d96a283 commit 5ee82b9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scripts/provision/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@

# Add any logic that is common to both the peer and docker environments here

# Use the mirror protocol for apt so that geographically close mirrors are automatically chosen
source /etc/lsb-release

cat <<EOF > /etc/apt/sources.list
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt $DISTRIB_CODENAME-security main restricted universe multiverse
EOF

apt-get update -qq

# Used by CHAINTOOL
Expand Down

0 comments on commit 5ee82b9

Please sign in to comment.