feat: introduce new cloud-init service names.
Script logic inspired by: 93442d09cf
Change-Id: I01da9e9ac514a77a4131eae8f9a3ecb28460ef84
Signed-off-by: Tadas Sutkaitis <tadasas@gmail.com>
This commit is contained in:

committed by
Mohammed Naser

parent
2974d223d2
commit
26f71b9459
@@ -18,5 +18,10 @@ if [[ "${DIB_INIT_SYSTEM}" == "systemd" ]]; then
|
||||
systemctl enable cloud-config.service
|
||||
systemctl enable cloud-final.service
|
||||
systemctl enable cloud-init-local.service
|
||||
systemctl enable cloud-init.service
|
||||
if ! [[ $DIB_RELEASE =~ ^(testing|trixie|unstable) ]]; then
|
||||
systemctl enable cloud-init.service
|
||||
else
|
||||
systemctl enable cloud-init-main.service
|
||||
systemctl enable cloud-init-network.service
|
||||
fi
|
||||
fi
|
||||
|
@@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Starting from 'cloud-init' version '24.3' service 'cloud-init.service'
|
||||
is splitted in to 'cloud-init-network.service' and 'cloud-init-main.service'.
|
||||
But some distributions are reverted to old service name.
|
Reference in New Issue
Block a user