Updates for network changes to built images

NetworkManager has changed the defaults for where the config
files are retained and by default we don't ship the traditional
Sys-V network scripts so we can clean-up those bits.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
Peter Robinson
2021-03-21 19:14:59 +00:00
parent d030465f14
commit 4ba7ce0148
3 changed files with 3 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ rpm -qa --qf '%{size}\t%{name}-%{version}-%{release}.%{arch}\n' |sort -rn
rm -f /var/lib/systemd/random-seed
# The enp1s0 interface is a left over from the imagefactory install, clean this up
rm -f /etc/sysconfig/network-scripts/ifcfg-enp1s0
rm -f /etc/NetworkManager/system-connections/*.nmconnection
dnf -y remove dracut-config-generic