mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-02 09:47:00 +03:00
context ubuntu: flush ip address before configuring
This commit is contained in:
parent
f3f485bfc5
commit
1e429998f1
@ -178,6 +178,7 @@ deactivate_network()
|
||||
for i in $IFACES; do
|
||||
DEV=`get_dev $i`
|
||||
/sbin/ifdown $i
|
||||
/sbin/ip addr flush dev $i
|
||||
done
|
||||
else
|
||||
service networking stop
|
||||
|
Loading…
x
Reference in New Issue
Block a user