1
0
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:
Stefan Kooman 2014-04-28 22:05:25 +02:00 committed by Javi Fontan
parent f3f485bfc5
commit 1e429998f1

View File

@ -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