From: 有张纸 Date: Tue, 30 Jun 2015 08:23:11 +0000 (+0800) Subject: debootstrap failed when $GREP_OPTIONS is set X-Git-Tag: lxc-1.1.3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27be6f140837edb2e0f927d67fd0d974312c6e5;p=thirdparty%2Flxc.git debootstrap failed when $GREP_OPTIONS is set debootstrap failed when $GREP_OPTIONS is set, so we need to unset it in the template Signed-off-by: --- diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index 29d4d448d..517fd8098 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -32,6 +32,7 @@ done # Make sure the usual locations are in PATH export PATH=$PATH:/usr/sbin:/usr/bin:/sbin:/bin +export GREP_OPTIONS="" MIRROR=${MIRROR:-http://http.debian.net/debian} SECURITY_MIRROR=${SECURITY_MIRROR:-http://security.debian.org/}