Merge "Disable all interfaces on eni systems"
This commit is contained in:
commit
85c7a91666
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user