Merge "Fix 'unsupported locale setting' errors in init-runonce"
This commit is contained in:
commit
4fdaf6a1ce
@ -5,6 +5,13 @@
|
|||||||
# configures networking and nova quotas to allow 40 m1.small instances
|
# configures networking and nova quotas to allow 40 m1.small instances
|
||||||
# to be created.
|
# 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
|
# Move to top level directory
|
||||||
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
||||||
cd "$(dirname "$REAL_PATH")/.."
|
cd "$(dirname "$REAL_PATH")/.."
|
||||||
|
Loading…
Reference in New Issue
Block a user