From 44fadc4471b0dd8b1ec35169fdea72b2f4ce3cc3 Mon Sep 17 00:00:00 2001 From: Camilla Conte Date: Fri, 25 Aug 2023 08:57:05 +0100 Subject: [PATCH] * Fri Aug 25 2023 Camilla Conte - 23.1.1-10 - Resolves: bz#2233047 ([RHEL 8.9] Inform user when cloud-init generated config files are left during uninstalling) --- cloud-init.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/cloud-init.spec b/cloud-init.spec index 91b0773..3457b46 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -6,7 +6,7 @@ Name: cloud-init Version: 23.1.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Cloud instance init scripts Group: System Environment/Base @@ -222,6 +222,18 @@ fi %postun %systemd_postun cloud-config.service cloud-config.target cloud-final.service cloud-init.service cloud-init.target cloud-init-local.service +if [ -f /etc/ssh/sshd_config.d/50-cloud-init.conf ] ; then + echo "/etc/ssh/sshd_config.d/50-cloud-init.conf not removed" +fi + +if [ -f /etc/NetworkManager/conf.d/99-cloud-init.conf ] ; then + echo "/etc/NetworkManager/conf.d/99-cloud-init.conf not removed" +fi + +if [ -f /etc/NetworkManager/conf.d/30-cloud-init-ip6-addr-gen-mode.conf ] ; then + echo "/etc/NetworkManager/conf.d/30-cloud-init-ip6-addr-gen-mode.conf not removed" +fi + %files %license LICENSE %config(noreplace) %{_sysconfdir}/cloud/cloud.cfg @@ -260,6 +272,10 @@ fi %config(noreplace) %{_sysconfdir}/rsyslog.d/21-cloudinit.conf %changelog +* Fri Aug 25 2023 Camilla Conte - 23.1.1-10 +- Resolves: bz#2233047 + ([RHEL 8.9] Inform user when cloud-init generated config files are left during uninstalling) + * Wed Aug 09 2023 Jon Maloy - 23.1.1-9 - ci-NM-renderer-set-default-IPv6-addr-gen-mode-for-all-i.patch [bz#2229460] - Resolves: bz#2229460