[00:03] minimal: Does this (https://pastebin.com/6TnsSirb) make things clearer? BTW is does not matter whether "en_DK" or "en_DK.UTF-8" is used. "locale-gen en_DK.UTF-8" completes w/o error. [00:05] that shows you specifying an invalid locale value: "en_DK", what happens with "en_DK.UTF-8"? [00:06] from the "update-locale" manpage *IT* updates /etc/default/locale, so obviously if the call to update-locale (by cloud-init) fails then that's why the file is unchanged [00:10] "en_DK", what happens with "en_DK.UTF-8"? -- To quote myself '''BTW is does not matter whether "en_DK" or "en_DK.UTF-8" is used.''' [00:11] MICROburst: you have not shown (debug) logs with en_DK.UTF-8 specified though [00:12] the excerpt is from /var/log/cloud-init-output.log. [00:13] ok, I'd asked for cloud-init.log with debug enabled... [00:14] So I need to re-install the VM? - where do I need to enable 'debug' exactly? [00:15] so if "update-locale --locale-file=/etc/default/locale LANG=en_DK.UTF-8" does not work when run by hand then obviously it also will not work when run by cloud-init [00:18] "update-locale --locale-file=/etc/default/locale LANG=en_DK.UTF-8" works as expected [00:21] you'd need to edit the /etc/cloud/cloud.cfg.d/05_logging.cfg to change things from INFO to DEBUG, then clear up the cloud-init files so it thinks it has never been run and then reboot the VM [00:22] minimal: bedtime here: 01:21 (AM) -- Hope to catch you later. [00:22] MICROburst: ok, so if that ran manually it should also work from cloud-init ASSUMING the required packages (locales, not sure about locales-all) are already installed when the VM first boots [00:22] MICROburst: who created this VM image? [07:51] minimal: that would've been my first question. Who's making these Debian images where you can't even set a locale [15:06] meena: well one of my first questions was which distro were they using as that wasn't originally indicated;-) [15:33] anyone wanna take a look at https://github.com/canonical/cloud-init/pull/1957 and see if this is going in the right direction? [15:33] -ubottu:#cloud-init- Pull 1957 in canonical/cloud-init "add function is_virtual to distro/FreeBSD" [Open] [15:38] I think vurtual() could be better named virtualization() or virtualisation()? whatever the canonical form [15:39] which I guess is a pretty good argument for calling it virtual() lol [15:40] meena: Canonical form? MAAS or LXD perhaps? ;-) [15:42] s/MAAS/Multipass/ [15:43] :D