/srv/irclogs.ubuntu.com/2017/06/30/#cloud-init.txt

powersjdpb1: those failures are due to a conversation smoser and I had earlier around where lxc keeps their datasource01:02
powersjyou can use his https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/tree/bin/do-reboot01:02
dpb1powersj: thx01:15
=== shardy is now known as shardy_afk
=== shardy_afk is now known as shardy
WulfHello!12:45
WulfIs it possible to specify a script (or URL with a script) that will execute and provide the actual configuration to cloud-init?12:45
PuttiWulf, most likely: I have seen many VPS providers allowing the users to customize the cloud-init configuration. I can look into the code if you want.13:17
PuttiWulf, maybe these help you: http://cloudinit.readthedocs.io/en/latest/topics/capabilities.html and http://cloudinit.readthedocs.io/en/latest/topics/format.html#include-file13:26
WulfPutti: Not really what I'm looking for. I can specify the full configuration (or a URL) via EC2 user data. But I need different configuration for each of my machines. So I thought I could write a script which supplies dynamic configuration for cloud-init.13:31
PuttiWulf, mhm, to which configuration you are referring to if not the one that can be set with user data (as that is dynamic)?13:33
WulfPutti: I don't want to put the full cloud-init configuration into the userdata.13:34
WulfPutti: I want to specify a URL (same for all instances). Cloud-formation shall download the URL and execute it as a script that returns the real cloud-formation config13:36
Puttiok, I don't know how to help with that. But maybe now with this information someone else could?13:37
WulfI guess I could add a part-handler and my script as a new part. But then how can my script inject additional generated parts into cloud-init?14:00
larsksWulf: I don't think it can. But you can have additional parts that are urls pointing to remote data...14:17

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