Jay Faulkner 8ca87c9ddc Update default Ubuntu to noble (latest LTS)
A diskimage-builder user complained to me today about the out of date
default for ubuntu images; so I updated it to noble at their request.

Change-Id: Ic7b6a656fcf6189bb608d148ef4615b3e06e8717
2024-11-25 15:36:02 -08:00

15 lines
541 B
Bash

export DISTRO_NAME=${DISTRO_NAME:-ubuntu}
export DIB_RELEASE=${DIB_RELEASE:-noble}
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,universe}
export EFI_BOOT_DIR="EFI/ubuntu"
# 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}