Browse Source

Change locale for openrc

When there is a special char in the name of a server or something else,
openstack client cannot print the char and throw this error:
'ascii' codec can't encode character u'\xe8' in position 106729: ordinal not in range(128)

Changing the locale to C.UTF-8 fix this small issue.

Change-Id: I2607f1617c37181c5de2cd49634e6e487f7a22d9
Marc Gariepy 6 months ago
parent
commit
ef3fe9966f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/openrc.j2

+ 1
- 1
templates/openrc.j2 View File

@@ -1,5 +1,5 @@
1 1
 # {{ ansible_managed }}
2
-export LC_ALL=C
2
+export LC_ALL=C.UTF-8
3 3
 
4 4
 # COMMON CINDER ENVS
5 5
 export CINDER_ENDPOINT_TYPE={{ openrc_cinder_endpoint_type }}

Loading…
Cancel
Save