From 8bc8fd9a2c50798f9555804ae186a5f35586680d Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Sat, 26 Mar 2016 10:52:32 +0100 Subject: [PATCH] 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 --- templates/lxc-ubuntu.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index ff66485ec..2e1eb55cc 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@" # Allows the lxc-cache directory to be set by environment variable -- 2.47.2