diff --git a/includes/post-install.ksi b/includes/post-install.ksi index 61774d1..f61cb7e 100644 --- a/includes/post-install.ksi +++ b/includes/post-install.ksi @@ -11,8 +11,9 @@ curl 'https://git.resf.org/thefossguy/rocky-linux-generic-images/raw/branch/r9/s [ -f /usr/local/bin/expand-rootfs.sh ] && \ chmod --verbose +x /usr/local/bin/expand-rootfs.sh -# Remove 'ifcfg-link' on generated images +# Remove all network connections and/or links rm -v -f /etc/sysconfig/network-scripts/ifcfg-link +rm -v -f /etc/NetworkManager/system-connections/*.nmconnection # Remove the temporary 'resolv.conf' file rm -v -f /etc/resolv.conf