Use ubuntu mirrors for debootstrapping

This commit is contained in:
Fabio Rehm 2013-03-08 01:39:56 -03:00
parent bfe7440ffc
commit 8a3c68b240

View file

@ -23,7 +23,7 @@ write_sourceslist()
# $1 => path to the rootfs # $1 => path to the rootfs
# $2 => architecture we want to add # $2 => architecture we want to add
MIRROR=${MIRROR:-http://archive.ubuntu.com/ubuntu} MIRROR=${MIRROR:-mirror://mirrors.ubuntu.com/mirrors.txt}
SECURITY_MIRROR=${SECURITY_MIRROR:-http://security.ubuntu.com/ubuntu} SECURITY_MIRROR=${SECURITY_MIRROR:-http://security.ubuntu.com/ubuntu}
cat >> "$1/etc/apt/sources.list" << EOF cat >> "$1/etc/apt/sources.list" << EOF