Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrantfile. Set locale for ssh agent

I have a problem described here

This problem appears because host machine put locale to guest via ssh.

What is the proper way to solve this?

How I can force vagrant ssh to do this:

LC_ALL=en_US.UTF-8 vagrant ssh

each time?

like image 858
kharandziuk Avatar asked Dec 04 '14 11:12

kharandziuk


1 Answers

LC_ALL=en_US.UTF-8
LC_CTYPE=en_US.UTF-8

add these lines to ~/.bash_profile of VM, and restart VM via vagrant

like image 106
Mohammad Shahid Siddiqui Avatar answered Nov 01 '22 16:11

Mohammad Shahid Siddiqui