diff --git a/base_deb/etc/one-context.d/00-network b/base_deb/etc/one-context.d/00-network index 5898e03..f4a9161 100755 --- a/base_deb/etc/one-context.d/00-network +++ b/base_deb/etc/one-context.d/00-network @@ -196,8 +196,10 @@ deactivate_network() IFACES=`/sbin/ifquery -la` for i in $IFACES; do - /sbin/ifdown $i - /sbin/ip addr flush dev $i + if [ $i != 'lo' ]; then + /sbin/ifdown $i + /sbin/ip addr flush dev $i + fi done else service networking stop