ryanburnette / ryanburnette.com

0 stars 0 forks source link

blog/proxmox-pct-fix-bash-locale-warning/ #7

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Proxmox Fix bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

https://ryanburnette.com/blog/proxmox-pct-fix-bash-locale-warning/

coolaj86 commented 1 year ago

You can't sudo ... > ... because the pipe is permissioned to the currently running user. Instead use tee:

echo "LANG=en_US.UTF-8" | sudo tee /etc/default/locale
ryanburnette commented 1 year ago

@coolaj86 Yep, you are absolutely right, using sudo ... > ... would not work. Thank you for pointing that out. I have improved and corrected this post.

coolaj86 commented 1 year ago

FYI: It did not deploy.

ryanburnette commented 1 year ago

It did.

coolaj86 commented 8 months ago

No, it really didn't.

ryanburnette commented 8 months ago

Right you are. I'll fix it.

ryanburnette commented 8 months ago

This time it definitely deployed.