=== harlowja is now known as harlowja_away | ||
=== harlowja_away is now known as harlowja | ||
=== harlowja is now known as harlowja_away | ||
=== zz_gondoi is now known as gondoi | ||
=== harlowja_away is now known as harlowja | ||
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:37 |
---|---|---|
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:53 |
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:58 |
j12t | The only thing I can do is get a template file filled in, with current hostname and fqdn? | 17:59 |
j12t | harlowja: my problem is that I don't really understand how it works! | 18:00 |
harlowja | hmmm | 18:00 |
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:01 |
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:02 |
harlowja | time to learn python ;) | 18:04 |
j12t | I know! | 18:06 |
=== harlowja is now known as harlowja_away | ||
=== harlowja_away is now known as harlowja | ||
=== gondoi is now known as zz_gondoi |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!