/srv/irclogs.ubuntu.com/2017/02/10/#cloud-init.txt

bugbusterHi10:27
=== bugbuster is now known as Guest7672
Guest7672I have a problem with understanding the merging of config with cloud-init.10:27
Guest7672We have a custom image with a custom /etc/cloud/cloud.cfg containing the defaults to bootstrap out instances. This config file also contains "bootcmd" and "runcmd".10:28
Guest7672When a user specifies additional "bootcmd" via userdata, only the use provided bootcmd's are executed, not the once in /etc/cloud/cloud.cfg.10:28
Guest7672I already added merge_how: 'dict(recurse_array,no_replace)+list(append)' to the userdata yaml, however same result.10:29
Guest7672Any hints ?10:29
Guest7672(p.s. I need the bootcmd as puppet4 is not supported)10:29
Guest7672By the way: why not use "puppet config set NAME VALUE --section", which hides config files and puppet versions from cloud-init code ? (and thus making https://bugs.launchpad.net/cloud-init/+bug/1446804 easier to fix)10:31
Guest7672Could the merge behaviour described be caused by https://bugs.launchpad.net/cloud-init/+bug/153223410:34
=== rangerpbzzzz is now known as rangerpb

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