mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
context ubuntu: cleanup unused code
This commit is contained in:
parent
1e429998f1
commit
6cecb17f2d
@ -176,7 +176,6 @@ deactivate_network()
|
||||
IFACES=`/sbin/ifquery -la`
|
||||
|
||||
for i in $IFACES; do
|
||||
DEV=`get_dev $i`
|
||||
/sbin/ifdown $i
|
||||
/sbin/ip addr flush dev $i
|
||||
done
|
||||
@ -192,7 +191,6 @@ activate_network()
|
||||
IFACES=`/sbin/ifquery -la`
|
||||
|
||||
for i in $IFACES; do
|
||||
DEV=`get_dev $i`
|
||||
/sbin/ifup $i
|
||||
done
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user