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.

Change-Id: I530aa3c3ddcecf36a70b34ef13abb608470c515f
Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Sep 23, 2016
1 parent 7e35569 commit 55593ac
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 55593ac

Please sign in to comment.