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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907107

Title:
  cloud-init runs too late at first startup after ubuntu autoinstall

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1907107/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to