Solved by adding these lines to the provisioning script: echo "export LANG=en_US.UTF-8" >> .bashrc echo "export LANGUAGE=en_US.UTF-8" >> .bashrc echo "export LC_COLLATE=C" >> .bashrc echo "export LC_CTYPE=en_US.UTF-8" >> .bashrc source .bashrc
Note that other locales than en_US.UTF-8 do not work, probably because the cloud base image is not intended to support other than that. On Sunday, 4 June 2017 13:45:11 UTC+1, Gianfranco Cecconi wrote: > > See here https://gist.github.com/giacecco/4bee169ebb6201f048484c51c3ea4a9d > the errors I get on the console as I run a simple "sudo dnf update -y" > using a provisioning script on a vanilla fedora/24-cloud-base vagrant box. > I am sure this must be something trivial linked to the fact that it is a > "cloud base" image. Can you suggest how to avoid the issue? Thanks. > > Giacecco > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/8685a490-dca6-4c91-bff0-682668344708%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
