Processing commands for cont...@bugs.debian.org:
> forwarded 955733 https://github.com/canonical/cloud-init/issues/4195
Bug #955733 [cloud-init] cloud-init does not set locale specified in user data
Set Bug forwarded-to-address to
'https://github.com/canonical/cloud-init/issues/4195
On Wed, Jun 28, 2023 at 08:51:46PM -0700, Noah Meyerhans wrote:
> I think that each of the components is working correct if viewed in
> isolation, but the end result is not what you expect. If we document
> that you must first populate /etc/locale.gen with the desired list of
> available locales,
On Sat, Apr 04, 2020 at 11:49:42AM +0100, Nick Holloway wrote:
> Package: cloud-init
> Version: 18.3-6
Confirmed that the behavior as described is still an issue in cloud-init
22.4.2-1 in bookworm.
> The command "locale-gen" does not accept a locale as an argument, but
> only generates the locale
Tested on bullseye genericcloud and same issue of locale not working
https://cloud.debian.org/images/cloud/bullseye/daily/20220310-944/debia
n-11-genericcloud-amd64-daily-20220310-944.qcow2
cloud-init 20.4.1-2+deb11u1
Package: cloud-init
Version: 18.3-6
I am launching a Buster 10.3 EC2 instance with the following user data
to initialise and set the default locale:
#cloud-config
hostname: argon
locale: en_GB.UTF-8
timezone: Europe/London
This fails to set the locale, and "systemctl status cloud