]> git.proxmox.com Git - mirror_lxc.git/commitdiff
debootstrap failed when $GREP_OPTIONS is set
author有张纸 <fanyeren@gmail.com>
Tue, 30 Jun 2015 08:23:11 +0000 (16:23 +0800)
committer有张纸 <fanyeren@gmail.com>
Tue, 30 Jun 2015 08:23:11 +0000 (16:23 +0800)
 debootstrap failed when $GREP_OPTIONS is set, so we need to unset it in the template

Signed-off-by: <feng xiahou xiahoufeng@yahoo.com>
templates/lxc-debian.in

index 558a3495bc4ba73725ab53ecb42e207c728325ab..bdd14b450b563d73a68f7c9179aa664d9ecf4c11 100644 (file)
@@ -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/}