Merge "Really remove all interfaces in dhcp-all-ifaces"

This commit is contained in:
Jenkins 2016-04-21 05:23:31 +00:00 committed by Gerrit Code Review
commit 874fef9fe9

View file

@ -10,13 +10,13 @@ set -o pipefail
# boot with DHCP.
# Fedora
rm -f /etc/sysconfig/network-scripts/ifcfg-eth0
rm -f /etc/sysconfig/network-scripts/ifcfg-eth*
# Ubuntu
rm -f /etc/network/interfaces.d/eth0.cfg
rm -f /etc/network/interfaces.d/eth*.cfg
# Debian
rm -f /etc/network/interfaces.d/eth0
rm -f /etc/network/interfaces.d/eth*
# /etc/network/interfaces distributions
if [ -f "/etc/network/interfaces" ]; then