Remove all interface configs for simple-init

We are currently removing only eth0 network config in the simple-init
element (since simple-init is responsible for networking if you are
using it). We install an eth1 as well in elements such as debootstrap.
Lets just rm eth*.

Change-Id: Id9ea8c5e402f3a06b9064a939ad4b2e168cd6223
This commit is contained in:
Gregory Haynes 2016-03-19 04:17:34 +00:00
parent db50f8f8e1
commit 3cb4273590

View File

@ -10,13 +10,13 @@ set -o pipefail
# boot with DHCP. # boot with DHCP.
# Fedora # Fedora
rm -f /etc/sysconfig/network-scripts/ifcfg-eth0 rm -f /etc/sysconfig/network-scripts/ifcfg-eth*
# Ubuntu # Ubuntu
rm -f /etc/network/interfaces.d/eth0.cfg rm -f /etc/network/interfaces.d/eth*
# Debian # Debian
rm -f /etc/network/interfaces.d/eth0 rm -f /etc/network/interfaces.d/eth*
# Gentoo # Gentoo
rm -f /etc/conf.d/net* rm -f /etc/conf.d/net*