From: Evgeni Golov Date: Sat, 26 Mar 2016 09:52:32 +0000 (+0100) Subject: always provide a default mirror for debootstraping Ubuntu X-Git-Tag: lxc-1.0.9~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8740e8c070c2abf400a6adc60740bc44b2f12885;p=thirdparty%2Flxc.git always provide a default mirror for debootstraping Ubuntu debootstrap sometimes selects the wrong mirror due to [1] [1] https://bugs.debian.org/819300 Signed-off-by: Evgeni Golov --- diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index f9b6cfdc4..8e8856d00 100644 --- a/templates/lxc-ubuntu.in +++ b/templates/lxc-ubuntu.in @@ -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@"