← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1988768] Re: locale language not installed after first boot 22.04.1 LTS

 

The [autoinstall.user-
data](https://ubuntu.com/server/docs/install/autoinstall-reference#user-
data) section will be handed over to the installed target to be executed
at boot time.

The config that I suggested is kind of a workaround to confirm cloud-
init correctly sets the locale, but I think
[autoinstall.locale](https://ubuntu.com/server/docs/install/autoinstall-
reference#locale) should set it up correctly. So a config like:

#cloud-config
autoinstall:
  locale: de_DE

should also work, but maybe a reboot is also required to refresh the
locale related env-var and processes consuming them by:

#cloud-config
autoinstall:
  locale: de_DE
  user-data:
    power_state:
      mode: reboot

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1988768

Title:
  locale language not installed after first boot 22.04.1 LTS

Status in cloud-init:
  New
Status in New User Experience Team:
  New
Status in subiquity:
  New
Status in Ubuntu Translations:
  New

Bug description:
  using the 'locale: de_DE' cloud-init user-data option results in an
  ubuntu installation displaying en_US on first boot login screen. When
  checking the region and language options in the UI login screen is set
  to 'German' but when checking the above selection for languages no
  languages are installed with the system. Keyboard layout 'de
  nodeadkeys' was set and active as expected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1988768/+subscriptions