diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-06-21 12:18:33 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-06-21 12:18:33 +0000 |
| commit | 4fdaf6a1ce1561a894be84e544aa0142fdd7a91b (patch) | |
| tree | 45da951c29f5af65b2034e3932cd37cad67074b5 /tools | |
| parent | be1cdd153b11c167df10172fe002b75c4f06511d (diff) | |
| parent | 018a07984aacfccea28990aec5367e570f74a4c5 (diff) | |
| download | kolla-4fdaf6a1ce1561a894be84e544aa0142fdd7a91b.tar.gz kolla-4fdaf6a1ce1561a894be84e544aa0142fdd7a91b.zip | |
Merge "Fix 'unsupported locale setting' errors in init-runonce"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/init-runonce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/init-runonce b/tools/init-runonce index 25d05cf61..1cc846392 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -5,6 +5,13 @@ # configures networking and nova quotas to allow 40 m1.small instances # to be created. +# Sanitize language settings to avoid commands bailing out +# with "unsupported locale setting" errors. +unset LANG +unset LANGUAGE +LC_ALL=C +export LC_ALL + # Move to top level directory REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") cd "$(dirname "$REAL_PATH")/.." |
