From 8ca87c9ddca2cec48180027868fe160729286ae0 Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Mon, 25 Nov 2024 15:36:02 -0800 Subject: [PATCH] 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 --- .../ubuntu-common/environment.d/10-ubuntu-distro-name.bash | 2 +- .../elements/ubuntu/root.d/10-cache-ubuntu-tarball | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/diskimage_builder/elements/ubuntu-common/environment.d/10-ubuntu-distro-name.bash b/diskimage_builder/elements/ubuntu-common/environment.d/10-ubuntu-distro-name.bash index 215e831e5..d843fbabe 100644 --- a/diskimage_builder/elements/ubuntu-common/environment.d/10-ubuntu-distro-name.bash +++ b/diskimage_builder/elements/ubuntu-common/environment.d/10-ubuntu-distro-name.bash @@ -1,5 +1,5 @@ export DISTRO_NAME=${DISTRO_NAME:-ubuntu} -export DIB_RELEASE=${DIB_RELEASE:-focal} +export DIB_RELEASE=${DIB_RELEASE:-noble} export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,universe} export EFI_BOOT_DIR="EFI/ubuntu" diff --git a/diskimage_builder/elements/ubuntu/root.d/10-cache-ubuntu-tarball b/diskimage_builder/elements/ubuntu/root.d/10-cache-ubuntu-tarball index b8e85e0ca..f2bfed413 100755 --- a/diskimage_builder/elements/ubuntu/root.d/10-cache-ubuntu-tarball +++ b/diskimage_builder/elements/ubuntu/root.d/10-cache-ubuntu-tarball @@ -12,7 +12,7 @@ set -o pipefail shopt -s extglob -DIB_RELEASE=${DIB_RELEASE:-trusty} +DIB_RELEASE=${DIB_RELEASE:-noble} DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-https://cloud-images.ubuntu.com/$DIB_RELEASE/current} if [ $DIB_RELEASE != "trusty" ] ; then BASE_IMAGE_FILE=${BASE_IMAGE_FILE:-$DIB_RELEASE-server-cloudimg-$ARCH.squashfs}