/srv/irclogs.ubuntu.com/2013/11/21/#cloud-init.txt

eric0hi all03:34
eric0is 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 it05:34
smoserno. its not readily available, eric005:53
eric0ok 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
abkping... can anyone here answer what all distros compatibility does cloud-init already has... or point to a resource which does07:40
kwadronauthttp://cloudinit.readthedocs.org/en/latest/topics/availability.html?highlight=centos07:42
kwadronautignore the highlight.07:42
abkthanks 07:45
abkI'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 right07:46
smoseryou needto give it a datasource.07:49
smoserbut yes.07:49
abkok, 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, FreeBSD07:50
abkand also is there any tutorial (getting started like) to tryout these on lxc or virtualbox07:51
kwadronauthmmm if there aren't any hello world examples, looking at the cloud config examples could get you started.07:56
kwadronauti remember that around may someone said he wanted to start hacking on fbsd support, don't know the current status.07:56
abkthanks, any ack on Gentoo/Arch/Suse07:58
kwadronauti 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
abkkwadronaut, 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 data09:08
ChocoboDoes the "user: <USERNAME>" configuration option create <USERNAME> or does it already have to exist?14:05
ChocoboNevermind... I found it in the examples14:07
Chocoboerrr.. I found "users:" not "user:"  14:07
abkny reference links for creating a cloud-init enabled (cloud) image... or to re-phrase it how cloud-images fetch for user data?14:19
Chocobois it lock_passwd or lock-passwd?  The example has it both ways.14:41
harlowjasmoser woah, just noticed that http://cloudinit.readthedocs.org/ format changed18:43
harlowjadid u do that, or was that the readthedocs.org people18:44
smoseri think that was rtd18:44
smoseri didn't do it18:44
smoserhm..18:44
smoserlook at the bottom 'latest' (for versions)18:45
smoseri wonder if there is more on that.18:45
smoseras that is something people have asked for.18:45
smoser(of cloud-init, version specific doc)18:45
harlowjaya, remember how i think i found a link that version support for bzr not so good :-/18:46
harlowjahttp://read-the-docs.readthedocs.org/en/latest/features.html#versions18:47
harlowjai think cloud-init uses tags, not branches18:47
harlowjawhich is under [No18:47
harlowjaif u created fake-branch that might make a version appear (not sure really)18:48
smoserhm.. yeah.18:51
harmwlooking fine, that new page18:58
harlowjaya, the search is neat18:58
harlowjaversions would be nice to (but see above)18:58
harmwyea, im kinda missing a changelog18:58
harlowjaagreed18:59
harlowjawe can probably plug that in pretty easily18:59
harlowjaweird smoser , http://anvil.readthedocs.org/en/latest/ didn't get updated19:00
harmwplus, is it just the look&feel thats changed or did the docs themselves got refreshed aswell?19:00
harlowjalook & feel afaik19:01
harmwk19:01
harlowjaalthough its odd that my other rtd site didn't change19:01
harmwjob wel done i'd say :)19:01
harlowjamaybe they are selectively rolling out that upgrade19:04
abkif I need to make a particular distro cloud-init ready... what are the steps... are Gentoo/FreeBSD/Suse supported19:09
harlowjafreebsd is the odd one there :-P19:12
harlowja1. make sure python exists in distro19:12
harlowja2. make sure basic cloud-init works there (likely remove most of the modules that run)19:13
harlowja3. figure out how cloud-init will get started on boot19:13
harlowja4. adjust any code in cloud-init (especially for freebsd)19:13
harlowja  - repeat 2 -> 419:13
harlowja5. package cloud-init for distro19:13
harlowja6. profit19:13
smoser7. share profit with poor smoser19: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 refer19:28
harlowjahmmm19:29
harlowjaits very system specific unfortunately abk 19:29
harlowjaeach system uses somethign different19:30
harlowjasystemd upstart sysvinit19:30
harlowja...19:30
harlowjaupstart -> ubuntu19:30
harlowjasystemd -> fedora19:30
harlowjasysvinit -> most everything else (old school)19:30
harlowjafreebsd -> (??)19:30
smoserabk, 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
abkopenrc -> freebsd19:30
smoserand then the same order for the other upstart/ jobs.19:30
harlowjaya, what smoser said is the big ordering19:31
abkif I can clealry understand application of it in terms of any sysVinit/systemD/upstart/openrc; I'll decipher it for others :(19:32
harlowjaabk 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-init19:32
harlowjahttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/files/head:/upstart/19:32
abkohk, thanks19:32
harlowjahttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/files/head:/systemd/ :)19:32
harlowjabb19:33
abkhopefully if I get it going... I'll publish article so I don't forget and come asking and others can refer :D thanks folks19:34
smoserabk, that'd be great.19:43
smoserthere are certainly some linux-isms there.19:44
smoserbut 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!