Merge "Disable all interfaces on eni systems"

This commit is contained in:
Jenkins 2015-01-20 00:40:22 +00:00 committed by Gerrit Code Review
commit 85c7a91666

View File

@ -14,3 +14,11 @@ rm -f /etc/network/interfaces.d/eth0.cfg
# Debian
rm -f /etc/network/interfaces.d/eth0
# /etc/network/interfaces distributions
if [ -f "/etc/network/interfaces" ]; then
printf "auto lo\niface lo inet loopback\n\n" > /etc/network/interfaces
if [ -d "/etc/network/interfaces.d/" ]; then
printf "source-directory interfaces.d\n\n" >> /etc/network/interfaces
fi
fi