From 3cb427359068b3c94316995b05c95b71f9d9c109 Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Sat, 19 Mar 2016 04:17:34 +0000 Subject: [PATCH] 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 --- .../simple-init/install.d/60-simple-init-remove-interfaces | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elements/simple-init/install.d/60-simple-init-remove-interfaces b/elements/simple-init/install.d/60-simple-init-remove-interfaces index 4cfd0de78..21bbb88a8 100755 --- a/elements/simple-init/install.d/60-simple-init-remove-interfaces +++ b/elements/simple-init/install.d/60-simple-init-remove-interfaces @@ -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* # Debian -rm -f /etc/network/interfaces.d/eth0 +rm -f /etc/network/interfaces.d/eth* # Gentoo rm -f /etc/conf.d/net*