Comment 17 for bug 1907107

Revision history for this message
eoli3n (eoli3neoli3n) wrote :

If i run autoinstall with that user-data file, autoinstall doesn't run and subiquity prompt for language setting.

#cloud-config
runcmd:
  - systemctl daemon-reload
  - systemctl restart gdm3
autoinstall:
  version: 1
  packages:
    - gdm3
  locale: fr_FR.UTF-8
  user-data:
    timezone: Europe/Paris
  refresh-installer:
    update: yes
  identity:
    hostname: localhost
    username: premier
    password: $1$l03JsARH$DCxHdrzUH8SRmeDk3/3rU1

If I use that user-data file, runcmd seems not to run at the end of cloud-config after first reboot.

#cloud-config
autoinstall:
  version: 1
  packages:
    - gdm3
  locale: fr_FR.UTF-8
  user-data:
    timezone: Europe/Paris
  refresh-installer:
    update: yes
  identity:
    hostname: localhost
    username: premier
    password: $1$l03JsARH$DCxHdrzUH8SRmeDk3/3rU1
  runcmd:
    - systemctl daemon-reload
    - systemctl restart gdm3

How should i use runcmd ?

FYI, even if i restart gmd3 manually with Fr locale set and generated, it is still in english.
Then only timezone test is ok, if i restart manually after cloud-config, clock is well configured.