summaryrefslogtreecommitdiff
path: root/tools/clean-vlans
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-06-27 09:02:22 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2011-06-27 09:02:22 -0700
commit6d1ce4a46a9684ac718bfc19dc8a362fbc9a9641 (patch)
tree9c7b6811a1fdd5c50ce71f35e52c32669034da57 /tools/clean-vlans
parent8a8c013cd4513b07e936125a23188e7608f40d58 (diff)
downloadnova-6d1ce4a46a9684ac718bfc19dc8a362fbc9a9641.tar.gz
remove extra stuff from clean vlans
Diffstat (limited to 'tools/clean-vlans')
-rwxr-xr-xtools/clean-vlans6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/clean-vlans b/tools/clean-vlans
index 820a9dbe5b..a26ad86ada 100755
--- a/tools/clean-vlans
+++ b/tools/clean-vlans
@@ -17,9 +17,9 @@
# License for the specific language governing permissions and limitations
# under the License.
-export LC_ALL=C
+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 | grep -v vlan124 | grep -v vlan5 | cut -f1 -d" " | xargs -n1 -ifoo ifconfig foo down
-sudo ifconfig -a | grep vlan | grep -v vlan124 | grep -v vlan5 | cut -f1 -d" " | xargs -n1 -ifoo vconfig rem 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