2018-04-23 18:27:38 +00:00
|
|
|
export DISTRO_NAME=${DISTRO_NAME:-ubuntu}
|
2021-08-27 01:50:18 +00:00
|
|
|
export DIB_RELEASE=${DIB_RELEASE:-focal}
|
2017-06-20 19:37:06 +00:00
|
|
|
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,universe}
|
2021-03-05 03:35:21 +00:00
|
|
|
export EFI_BOOT_DIR="EFI/ubuntu"
|
2016-12-08 23:30:56 +00:00
|
|
|
|
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}
|