mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-28 19:22:17 +00:00
functions: cloud-init clean script needs to declar interpreter
LP: #2055729
This commit is contained in:
parent
db991ce7d9
commit
0c53dae35d
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -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 <daniel.bungert@canonical.com> Fri, 01 Mar 2024 15:21:21 -0700
|
||||||
|
|
||||||
livecd-rootfs (24.04.44) noble; urgency=medium
|
livecd-rootfs (24.04.44) noble; urgency=medium
|
||||||
|
|
||||||
* Switch to using the candidate channel for the ubuntu-image snap. This way
|
* Switch to using the candidate channel for the ubuntu-image snap. This way
|
||||||
|
@ -1099,6 +1099,7 @@ EOF
|
|||||||
# Allow cloud-init clean to inform of strict network-manager config
|
# Allow cloud-init clean to inform of strict network-manager config
|
||||||
mkdir -p chroot/etc/cloud/clean.d
|
mkdir -p chroot/etc/cloud/clean.d
|
||||||
cat <<EOF > chroot/etc/cloud/clean.d/99-installer-use-networkmanager
|
cat <<EOF > chroot/etc/cloud/clean.d/99-installer-use-networkmanager
|
||||||
|
#!/bin/sh
|
||||||
# Inform clone image creators about strict network-manager cfg for cloud-init
|
# 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
|
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."
|
echo "WARNING: cloud-init network config is limited to using network-manager."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user