eric0 | hi all | 03:34 |
---|---|---|
eric0 | is there a way to use ec2 metadata in cloud-config actions? i read the docs on datasources but don't understand whether it automatically pulls down all the stuff available in /latest for use somehow, or whether i need to shell out to ec2-metadata or curl to make use of it | 05:34 |
smoser | no. its not readily available, eric0 | 05:53 |
eric0 | ok i'll just use a little shell snippet, thx. poking at some additional puppet integrations with it and puppet's trained me too well to treat shell as the last resort :) | 05:57 |
abk | ping... can anyone here answer what all distros compatibility does cloud-init already has... or point to a resource which does | 07:40 |
kwadronaut | http://cloudinit.readthedocs.org/en/latest/topics/availability.html?highlight=centos | 07:42 |
kwadronaut | ignore the highlight. | 07:42 |
abk | thanks | 07:45 |
abk | I'm trying to get clear picture around cloud-init... using it with lxc or virtualbox containers shall work as with any advance hypervisor-based containers right | 07:46 |
smoser | you needto give it a datasource. | 07:49 |
smoser | but yes. | 07:49 |
abk | ok, and the link says "and more..."; I'll specify the other distros than listed which are of my concers... please let me know if any of those are not supported... Gentoo, Arch, OpenSuse, FreeBSD | 07:50 |
abk | and also is there any tutorial (getting started like) to tryout these on lxc or virtualbox | 07:51 |
kwadronaut | hmmm if there aren't any hello world examples, looking at the cloud config examples could get you started. | 07:56 |
kwadronaut | i remember that around may someone said he wanted to start hacking on fbsd support, don't know the current status. | 07:56 |
abk | thanks, any ack on Gentoo/Arch/Suse | 07:58 |
kwadronaut | i don't personally use any of those. you might want to try the mailinglist or something like that. or stick around for a longer time until someone else pops by who happens to know answers. | 08:44 |
abk | kwadronaut, sure... thanks... just one more Q. do you have any reference links for creating a cloud-init enabled (cloud) image... or to re-phrase it how cloud-images fetch for user data | 09:08 |
Chocobo | Does the "user: <USERNAME>" configuration option create <USERNAME> or does it already have to exist? | 14:05 |
Chocobo | Nevermind... I found it in the examples | 14:07 |
Chocobo | errr.. I found "users:" not "user:" | 14:07 |
abk | ny reference links for creating a cloud-init enabled (cloud) image... or to re-phrase it how cloud-images fetch for user data? | 14:19 |
Chocobo | is it lock_passwd or lock-passwd? The example has it both ways. | 14:41 |
harlowja | smoser woah, just noticed that http://cloudinit.readthedocs.org/ format changed | 18:43 |
harlowja | did u do that, or was that the readthedocs.org people | 18:44 |
smoser | i think that was rtd | 18:44 |
smoser | i didn't do it | 18:44 |
smoser | hm.. | 18:44 |
smoser | look at the bottom 'latest' (for versions) | 18:45 |
smoser | i wonder if there is more on that. | 18:45 |
smoser | as that is something people have asked for. | 18:45 |
smoser | (of cloud-init, version specific doc) | 18:45 |
harlowja | ya, remember how i think i found a link that version support for bzr not so good :-/ | 18:46 |
harlowja | http://read-the-docs.readthedocs.org/en/latest/features.html#versions | 18:47 |
harlowja | i think cloud-init uses tags, not branches | 18:47 |
harlowja | which is under [No | 18:47 |
harlowja | if u created fake-branch that might make a version appear (not sure really) | 18:48 |
smoser | hm.. yeah. | 18:51 |
harmw | looking fine, that new page | 18:58 |
harlowja | ya, the search is neat | 18:58 |
harlowja | versions would be nice to (but see above) | 18:58 |
harmw | yea, im kinda missing a changelog | 18:58 |
harlowja | agreed | 18:59 |
harlowja | we can probably plug that in pretty easily | 18:59 |
harlowja | weird smoser , http://anvil.readthedocs.org/en/latest/ didn't get updated | 19:00 |
harmw | plus, is it just the look&feel thats changed or did the docs themselves got refreshed aswell? | 19:00 |
harlowja | look & feel afaik | 19:01 |
harmw | k | 19:01 |
harlowja | although its odd that my other rtd site didn't change | 19:01 |
harmw | job wel done i'd say :) | 19:01 |
harlowja | maybe they are selectively rolling out that upgrade | 19:04 |
abk | if I need to make a particular distro cloud-init ready... what are the steps... are Gentoo/FreeBSD/Suse supported | 19:09 |
harlowja | freebsd is the odd one there :-P | 19:12 |
harlowja | 1. make sure python exists in distro | 19:12 |
harlowja | 2. make sure basic cloud-init works there (likely remove most of the modules that run) | 19:13 |
harlowja | 3. figure out how cloud-init will get started on boot | 19:13 |
harlowja | 4. adjust any code in cloud-init (especially for freebsd) | 19:13 |
harlowja | - repeat 2 -> 4 | 19:13 |
harlowja | 5. package cloud-init for distro | 19:13 |
harlowja | 6. profit | 19:13 |
smoser | 7. share profit with poor smoser | 19:20 |
abk | @harlowja, @smoser thanks :) ...my main confusion is how system knows to run cloud-init as prior boot task before any, is there any article/wiki from Ubuntu Cloud Images or others that I can refer | 19:28 |
harlowja | hmmm | 19:29 |
harlowja | its very system specific unfortunately abk | 19:29 |
harlowja | each system uses somethign different | 19:30 |
harlowja | systemd upstart sysvinit | 19:30 |
harlowja | ... | 19:30 |
harlowja | upstart -> ubuntu | 19:30 |
harlowja | systemd -> fedora | 19:30 |
harlowja | sysvinit -> most everything else (old school) | 19:30 |
harlowja | freebsd -> (??) | 19:30 |
smoser | abk, the big thing is that cloud-init local runs first, then cloud-init network (and that should run only after all networking has come up) | 19:30 |
abk | openrc -> freebsd | 19:30 |
smoser | and then the same order for the other upstart/ jobs. | 19:30 |
harlowja | ya, what smoser said is the big ordering | 19:31 |
abk | if I can clealry understand application of it in terms of any sysVinit/systemD/upstart/openrc; I'll decipher it for others :( | 19:32 |
harlowja | abk u can look at the upstart/sysvinit and such in http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/sysvinit/redhat/cloud-init | 19:32 |
harlowja | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/files/head:/upstart/ | 19:32 |
abk | ohk, thanks | 19:32 |
harlowja | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/files/head:/systemd/ :) | 19:32 |
harlowja | bb | 19:33 |
abk | hopefully if I get it going... I'll publish article so I don't forget and come asking and others can refer :D thanks folks | 19:34 |
smoser | abk, that'd be great. | 19:43 |
smoser | there are certainly some linux-isms there. | 19:44 |
smoser | but we're open to finding more cross platform solutions. | 19:44 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!