PureDevOps Community

Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

Soon after creating new VM and ssh to the instance I get this error

Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

the solution which i found and working is

1. vi /etc/environment
2. Add the below two lines
LANG=en_US.utf-8
LC_ALL=en_US.utf-8