/srv/irclogs.ubuntu.com/2024/01/11/#cloud-init.txt

=== kuraudo1 is now known as kuraudo
meenaholmanb: shouldn't that just produce distro defaults? 09:29
holmanbmeena: if no path_cfgs is provided, the defaults are hard-coded (`/run/cloud-init` for the run_dir attribute)14:30
meenaholmanb: oh… is there a way to ask distro for default Paths?14:59
holmanbmeena: I think that this is a chicken/egg in the case of the Paths call in stages15:01
meenathe egg was there first. but the thing that laid the egg wasn't quite a chicken, but then the thing that hatched from the egg was15:02
holmanbwell yes :)15:03
holmanbthe Init().distro property is populated by reading the system configuration.... which it gets from the Paths obect that is populated without a configuration15:03
holmanbso maybe it doesn't matter in that case, if /run/cloud-init/ isn't used in getting the config path15:04
holmanbbut I haven't investigated that fully15:06
holmanband since the runtime config is stored in the ephemeral directory I'm guessing that this might actually matter15:11
holmanbmaybe it doesn't matter for discovering configured distro, but a re-read after identifying the distro might be required to get the datasource_list that ds-identify writes into /var/run/cloud-init/cloud.cfg, if the config that is read using Paths({}) gets cached anywhere15:13

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!