2014-11-22 23:46:33 +00:00
|
|
|
export DISTRO_NAME=ubuntu
|
2016-06-25 04:20:04 +00:00
|
|
|
export DIB_RELEASE=${DIB_RELEASE:-xenial}
|
2015-03-22 20:11:55 +00:00
|
|
|
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,restricted,universe}
|
2016-12-08 23:30:56 +00:00
|
|
|
|
|
|
|
if [ -n "${DIB_UBUNTU_DISTRIBUTION_MIRROR:-}" ]; then
|
|
|
|
DIB_DISTRIBUTION_MIRROR=$DIB_UBUNTU_DISTRIBUTION_MIRROR
|
|
|
|
fi
|
2017-03-23 01:22:33 +00:00
|
|
|
|
|
|
|
# There are two default distro mirrors depending on architecture
|
|
|
|
ARCH=${ARCH:-}
|
|
|
|
if [[ "arm64 armhf powerpc ppc64el s390x" =~ "$ARCH" ]]; then
|
|
|
|
default_ubuntu_mirror=http://ports.ubuntu.com/ubuntu-ports
|
|
|
|
else
|
|
|
|
default_ubuntu_mirror=http://archive.ubuntu.com/ubuntu
|
|
|
|
fi
|
|
|
|
|
|
|
|
export DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-$default_ubuntu_mirror}
|