diff options
| author | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-12-24 18:58:06 +0000 |
|---|---|---|
| committer | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-12-24 18:58:06 +0000 |
| commit | 5f0aaa0fb60f052f0738a5df62327f30c14e6a10 (patch) | |
| tree | 7d5a89e6e5bb8492dcf6a2b17d20b471a77d0bbe /tools | |
| parent | f15349b4c0d0bc68fba9cbafbf0b532d95168d8c (diff) | |
| parent | 956f842c587bf1610f55ca3893f3b9eef924293c (diff) | |
merge trunk
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/clean-vlans | 2 | ||||
| -rw-r--r-- | tools/pip-requires | 2 | ||||
| -rwxr-xr-x | tools/setup_iptables.sh | 2 |
3 files changed, 5 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/pip-requires b/tools/pip-requires index 17a1a4c5c..e9559521b 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -2,6 +2,7 @@ SQLAlchemy==0.6.3 pep8==0.5.0 pylint==0.19 IPy==0.70 +Cheetah==2.4.2.1 M2Crypto==0.20.2 amqplib==0.6.1 anyjson==0.2.4 @@ -21,3 +22,4 @@ mox==0.5.0 greenlet==0.3.1 nose bzr +Twisted>=10.1.0
\ No newline at end of file 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 |
