diff options
| author | David Pravec <David.Pravec@danix.org> | 2010-12-24 02:10:40 +0100 |
|---|---|---|
| committer | David Pravec <David.Pravec@danix.org> | 2010-12-24 02:10:40 +0100 |
| commit | 6035549fb7a930a0f0995da7ae696a4dc1ebc548 (patch) | |
| tree | 6c85fed91e324f402c2b1fd4c2c86b4360e9be3d /tools | |
| parent | 41b5e4a12d23308f2143dfb5a059c43a931370e2 (diff) | |
| parent | 8060b526e1fecc66a6766de3f9e4b008e69af1e3 (diff) | |
| download | nova-6035549fb7a930a0f0995da7ae696a4dc1ebc548.tar.gz nova-6035549fb7a930a0f0995da7ae696a4dc1ebc548.tar.xz nova-6035549fb7a930a0f0995da7ae696a4dc1ebc548.zip | |
merged trunk, resolved conflict
someone deleted process_unittest.py in trunk, so the problem in that one is gone now.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/clean-vlans | 2 | ||||
| -rwxr-xr-x | tools/setup_iptables.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/clean-vlans b/tools/clean-vlans index f5b0295ad..820a9dbe5 100755 --- a/tools/clean-vlans +++ b/tools/clean-vlans @@ -17,6 +17,8 @@ # License for the specific language governing permissions and limitations # under the License. +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 diff --git a/tools/setup_iptables.sh b/tools/setup_iptables.sh index 673353eb4..8be8cd812 100755 --- a/tools/setup_iptables.sh +++ b/tools/setup_iptables.sh @@ -36,7 +36,7 @@ else # NOTE(vish): This will just get the first ip in the list, so if you # have more than one eth device set up, this will fail, and # you should explicitly pass in the ip of the instance - IP=`ifconfig | grep -m 1 'inet addr:'| cut -d: -f2 | awk '{print $1}'` + IP=`LC_ALL=C ifconfig | grep -m 1 'inet addr:'| cut -d: -f2 | awk '{print $1}'` fi if [ -n "$3" ]; then |
