From 0c53dae35de1ae71f86f6cc7b3e5a0275ab45bba Mon Sep 17 00:00:00 2001 From: Chad Smith Date: Fri, 1 Mar 2024 14:00:57 -0700 Subject: [PATCH] functions: cloud-init clean script needs to declar interpreter LP: #2055729 --- debian/changelog | 7 +++++++ live-build/functions | 1 + 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7608457a..b082e732 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (24.04.45) UNRELEASED; urgency=medium + + [ Chad Smith ] + * Fix cloud-init clean script, by declaring the interpreter + + -- Dan Bungert Fri, 01 Mar 2024 15:21:21 -0700 + livecd-rootfs (24.04.44) noble; urgency=medium * Switch to using the candidate channel for the ubuntu-image snap. This way diff --git a/live-build/functions b/live-build/functions index 18124302..695344eb 100644 --- a/live-build/functions +++ b/live-build/functions @@ -1099,6 +1099,7 @@ EOF # Allow cloud-init clean to inform of strict network-manager config mkdir -p chroot/etc/cloud/clean.d cat < chroot/etc/cloud/clean.d/99-installer-use-networkmanager +#!/bin/sh # Inform clone image creators about strict network-manager cfg for cloud-init if [ -f /etc/cloud/cloud.cfg.d/99-installer-use-networkmanager.cfg ]; then echo "WARNING: cloud-init network config is limited to using network-manager."