MICROburst | 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:03 |
---|---|---|
minimal | that shows you specifying an invalid locale value: "en_DK", what happens with "en_DK.UTF-8"? | 00:05 |
minimal | 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:06 |
MICROburst | "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:10 |
minimal | MICROburst: you have not shown (debug) logs with en_DK.UTF-8 specified though | 00:11 |
MICROburst | the excerpt is from /var/log/cloud-init-output.log. | 00:12 |
minimal | ok, I'd asked for cloud-init.log with debug enabled... | 00:13 |
MICROburst | So I need to re-install the VM? - where do I need to enable 'debug' exactly? | 00:14 |
minimal | 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:15 |
MICROburst | "update-locale --locale-file=/etc/default/locale LANG=en_DK.UTF-8" works as expected | 00:18 |
minimal | 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:21 |
MICROburst | minimal: bedtime here: 01:21 (AM) -- Hope to catch you later. | 00:22 |
minimal | 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 |
minimal | MICROburst: who created this VM image? | 00:22 |
meena | minimal: that would've been my first question. Who's making these Debian images where you can't even set a locale | 07:51 |
minimal | meena: well one of my first questions was which distro were they using as that wasn't originally indicated;-) | 15:06 |
meena | 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:33 | |
meena | I think vurtual() could be better named virtualization() or virtualisation()? whatever the canonical form | 15:38 |
meena | which I guess is a pretty good argument for calling it virtual() lol | 15:39 |
minimal | meena: Canonical form? MAAS or LXD perhaps? ;-) | 15:40 |
minimal | s/MAAS/Multipass/ | 15:42 |
meena | :D | 15:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!