Home Setup Foreman locale issue on Centos 7

Setup Foreman locale issue on Centos 7

is about a locale issue during a foreman setup on CentOS 7.

locale environment variables were bad; continuing with LANG=C

In my case the output of locale -a showed en_US.utf8 but the output of env and the line line in /etc/locale.conf reads different.
en_US.UTF-8 which seams to be wrong or not translated correctly.
Long Story short, either export the correct settings or update the /etc/locales.conf file so that it read like this for example

This post is licensed under CC BY 4.0 by the author.