hvtools: Force down the interface is config changes

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2016-02-05 09:26:33 -08:00
parent 7f7abf722e
commit 68af3a7c22

View File

@ -65,7 +65,7 @@ outf=/etc/network/interfaces
. $1
# Down the interface
ifdown $DEVICE
ifdown -f $DEVICE
# create a new interfaces file
echo "auto lo" > $outf