From: Reinhard Schmitz Date: Wed, 8 Nov 2023 14:37:05 +0000 (+0100) Subject: Purge cloud-init remains for network-manager X-Git-Tag: 1.8.0^2~16 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=a8b17937a644b395309e734bea8ca46ed42c51ea;p=pixelpark%2Fcreate-terraform.git Purge cloud-init remains for network-manager --- 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