Use ubuntu mirrors for debootstrapping
This commit is contained in:
parent
bfe7440ffc
commit
8a3c68b240
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue