Skip to content

Commit

Permalink
always provide a default mirror for debootstraping Ubuntu
Browse files Browse the repository at this point in the history
debootstrap sometimes selects the wrong mirror due to [1]

[1] https://bugs.debian.org/819300

Signed-off-by: Evgeni Golov <evgeni@debian.org>
  • Loading branch information
evgeni authored and stgraber committed Nov 17, 2016
1 parent 1cc706a commit 8740e8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/lxc-ubuntu.in
Expand Up @@ -39,6 +39,8 @@ export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin

set -e

MIRROR=${MIRROR:-http://archive.ubuntu.com/ubuntu}
SECURITY_MIRROR=${SECURITY_MIRROR:-http://security.ubuntu.com/ubuntu}
LOCALSTATEDIR="@LOCALSTATEDIR@"
LXC_TEMPLATE_CONFIG="@LXCTEMPLATECONFIG@"

Expand Down

0 comments on commit 8740e8c

Please sign in to comment.