From a8b17937a644b395309e734bea8ca46ed42c51ea Mon Sep 17 00:00:00 2001 From: Reinhard Schmitz Date: Wed, 8 Nov 2023 15:37:05 +0100 Subject: [PATCH] Purge cloud-init remains for network-manager --- postinstall-scripts/update-all-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/postinstall-scripts/update-all-packages b/postinstall-scripts/update-all-packages index d4a9477..c5444be 100755 --- a/postinstall-scripts/update-all-packages +++ b/postinstall-scripts/update-all-packages @@ -197,6 +197,7 @@ ok==1 {print "ip_resolve=4"; ok=0} info "Removing cloud-init ..." if rpm -qa | grep --quiet --perl-regexp '^cloud-init-\d' ; then exec_cmd ${tool} --assumeyes erase cloud-init + RM -rf /etc/sysconfig/network-scripts/* /etc/sysconfig/network-scripts/.* fi for logfile in /var/log/cloud-init.log /var/log/cloud-init-output.log ; do -- 2.39.5