powersj | dpb1: those failures are due to a conversation smoser and I had earlier around where lxc keeps their datasource | 01:02 |
---|---|---|
powersj | you can use his https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/tree/bin/do-reboot | 01:02 |
dpb1 | powersj: thx | 01:15 |
=== shardy is now known as shardy_afk | ||
=== shardy_afk is now known as shardy | ||
Wulf | Hello! | 12:45 |
Wulf | Is it possible to specify a script (or URL with a script) that will execute and provide the actual configuration to cloud-init? | 12:45 |
Putti | Wulf, 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 |
Putti | Wulf, maybe these help you: http://cloudinit.readthedocs.io/en/latest/topics/capabilities.html and http://cloudinit.readthedocs.io/en/latest/topics/format.html#include-file | 13:26 |
Wulf | Putti: 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 |
Putti | Wulf, 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 |
Wulf | Putti: I don't want to put the full cloud-init configuration into the userdata. | 13:34 |
Wulf | Putti: 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 config | 13:36 |
Putti | ok, I don't know how to help with that. But maybe now with this information someone else could? | 13:37 |
Wulf | I 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 |
larsks | Wulf: 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!