[17:37] <j12t> There seems to be a update_etc_hosts. How does it work? Can't find a description in the docs... I'd like to add a line to that file.
[17:53] <harlowja> j12t i'm working on some docs of all that stuff, its the start @ https://code.launchpad.net/~harlowja/cloud-init/start-module-docs
[17:53] <harlowja> additions welcome
[17:58] <j12t> My python is basically non-existent ... do I see this correctly that I cannot actually add an arbitrary line to /etc/hosts via update_etc_hosts?
[17:59] <j12t> The only thing I can do is get a template file filled in, with current hostname and fqdn?
[18:00] <j12t> harlowja: my problem is that I don't really understand how it works!
[18:00] <harlowja> hmmm
[18:01] <j12t> I did write down something that may or may not have any place in the docs: http://indieboxproject.org/blog/2014/10/virtualbox-and-cloud-init/
[18:01] <harlowja> update_etc_hosts is python code, so its not likely so easy to just add arbitrary lines to things, unless that python code understands how to honor whatever u want it to write
[18:02] <harlowja> http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/config/cc_update_etc_hosts.py#L29 is the code that is doing this
[18:02] <harlowja> its nothing so special
[18:04] <harlowja> time to learn python ;)
[18:06] <j12t> I know!