diff --git a/scripts/centos/cleanup.sh b/scripts/centos/cleanup.sh index faa7e0b49..1f41ffdb4 100644 --- a/scripts/centos/cleanup.sh +++ b/scripts/centos/cleanup.sh @@ -19,6 +19,8 @@ fi # Clean up network interface persistence rm -f /etc/udev/rules.d/70-persistent-net.rules; +mkdir -p /etc/udev/rules.d/70-persistent-net.rules; +rm -f /lib/udev/rules.d/75-persistent-net-generator.rules; for ndev in `ls -1 /etc/sysconfig/network-scripts/ifcfg-*`; do if [ "`basename $ndev`" != "ifcfg-lo" ]; then