The enp1s0 interface is a left over from the imagefactory install, clean this up in post install

This commit is contained in:
Peter Robinson 2017-11-03 18:24:21 +00:00
parent 41ef546b3f
commit 4af1ec7312
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@ rm -f /var/lib/rpm/__db*
# remove random seed, the newly installed instance should make it's own
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
dnf -y remove dracut-config-generic
# Disable network service here, as doing it in the services line