Merge "simple-init: also remove en* interfaces from the images"
This commit is contained in:
commit
2eb1c9161f
@ -6,20 +6,20 @@ fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
# Cloud images may hard code the eth0 interfaces so they
|
||||
# Cloud images may hard code the eth0/ens* interfaces so they
|
||||
# boot with DHCP.
|
||||
|
||||
# Fedora
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-eth*
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-en*
|
||||
|
||||
# SUSE
|
||||
rm -f /etc/sysconfig/network/ifcfg-eth*
|
||||
rm -f /etc/sysconfig/network/ifcfg-en*
|
||||
|
||||
# Ubuntu
|
||||
rm -f /etc/network/interfaces.d/eth*
|
||||
|
||||
# Debian
|
||||
# Ubuntu and Debian
|
||||
rm -f /etc/network/interfaces.d/eth*
|
||||
rm -f /etc/network/interfaces.d/en*
|
||||
|
||||
# Gentoo
|
||||
rm -f /etc/conf.d/net*
|
||||
|
Loading…
Reference in New Issue
Block a user