From 7572a94c0a4e83fef8ad1471be49135f1359b2dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sannes?= Date: Thu, 20 Oct 2011 11:27:23 +0200 Subject: [PATCH] Remove nova dependency on vconfig on Linux. iproute2 is already a dependency and is used everywhere and is more capable than vconfig. This commit just replaces all uses of vconfig. Change-Id: I5860a10f151a176bf9849feda6052d4c2b491e07 --- clean-vlans | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clean-vlans b/clean-vlans index a26ad86..284e5dc 100755 --- a/clean-vlans +++ b/clean-vlans @@ -22,4 +22,4 @@ export LC_ALL=C sudo ifconfig -a | grep br | grep -v bridge | cut -f1 -d" " | xargs -n1 -ifoo ifconfig foo down sudo ifconfig -a | grep br | grep -v bridge | cut -f1 -d" " | xargs -n1 -ifoo brctl delbr foo sudo ifconfig -a | grep vlan | cut -f1 -d" " | xargs -n1 -ifoo ifconfig foo down -sudo ifconfig -a | grep vlan | cut -f1 -d" " | xargs -n1 -ifoo vconfig rem foo +sudo ifconfig -a | grep vlan | cut -f1 -d" " | xargs -n1 -ifoo ip link del foo