diff options
| author | Anne Gentle <anne@openstack.org> | 2011-01-03 16:58:45 -0600 |
|---|---|---|
| committer | Anne Gentle <anne@openstack.org> | 2011-01-03 16:58:45 -0600 |
| commit | 4ced09acb75ec0ebc431b98a84763f5f6530ba66 (patch) | |
| tree | 322a50150dab9d17c087d0f2ed2d34cc47c85e11 /tools | |
| parent | dc2c64b7d7a8ebab8a8ddb69474fdce0086a7ec8 (diff) | |
| parent | bed422cb2677f9e7505b5e7dc9ac46edb9a90dea (diff) | |
Fixing merge conflicts with new branch
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/clean-vlans | 2 | ||||
| -rw-r--r-- | tools/pip-requires | 4 | ||||
| -rwxr-xr-x | tools/setup_iptables.sh | 2 |
3 files changed, 6 insertions, 2 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/pip-requires b/tools/pip-requires index e9559521b..341043114 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -22,4 +22,6 @@ mox==0.5.0 greenlet==0.3.1 nose bzr -Twisted>=10.1.0
\ No newline at end of file +Twisted>=10.1.0 +PasteDeploy +paste 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 |
