snap-l | Good morning | 13:14 |
---|---|---|
rick_h | morning | 13:14 |
=== ColonelPanic002_ is now known as ColonelPanic001 | ||
rick_h | lmao, detroit bit on the daily show is great | 15:50 |
jrwren | i'm gonna stab cloud-init in the face. it handles 1000 cases, and I can't figure out how to make it handle mine :) | 16:17 |
jrwren | oh shit, as I type this, I think I just realized how to handle it. | 16:17 |
rick_h | add smoser to add support for it | 16:17 |
jrwren | sorry smoser | 16:17 |
jrwren | :) | 16:17 |
rick_h | ask that is | 16:17 |
rick_h | lol | 16:17 |
jrwren | nah, I'm not gonna ask him for my 1 stupid 1-off | 16:17 |
rick_h | or he'll tell you why you're wrong and how to do it right :P | 16:18 |
smoser | i'm curious. | 16:18 |
smoser | what was wrong ? | 16:18 |
jrwren | i have a command in place which uses user-data already. i was trying to wrap my head around how to use both. | 16:21 |
jrwren | i think easy thing is to move that current user-data to cloud-config which writes a file | 16:21 |
jrwren | then just check for the file before pulling meta user-data in my current script. | 16:22 |
jrwren | fallback can be user-data | 16:22 |
jrwren | i'm slow. it just wasn't clicking in my brain for a while there. | 16:22 |
jrwren | too much C code lately had me in a different mode :p | 16:22 |
jrwren | smoser: btw, cloud init is splendid. | 16:39 |
smoser | "command in place" | 16:41 |
smoser | meaning its already in your image ? | 16:41 |
smoser | oh. i think i understand now. yeah. | 16:41 |
smoser | you coudl also make that "command" be a part-handler | 16:41 |
jrwren | i'd have to patch cloud-init to do that. | 16:43 |
jrwren | i want it to work today. maybe even yesterday (12.04) :) | 16:43 |
smoser | jrwren, why would you have ot patch cloud-init ? | 17:54 |
smoser | you can send a part-handler in user-data | 17:54 |
jrwren | that is waht I plan on doing | 17:54 |
jrwren | but there are only so many part-handlers, right? | 17:55 |
smoser | no. | 17:55 |
jrwren | oh, python code. | 17:55 |
smoser | they're loaded on being seen | 17:55 |
jrwren | i was avoiding that. | 17:55 |
smoser | and applied. | 17:55 |
smoser | only one part handler can claim a given type | 17:55 |
jrwren | right, at first i was looking for a "write file" type handler. in my case the old user-data is pretty small, I was just going to embed it into cloud-config runcmd | 17:56 |
jrwren | where the runcmd is going to be echo "THINGS" > FILE | 17:57 |
brousch | snap-l rick_h: You guys see the email from Karl Karston re: Pyohio? | 20:54 |
smoser | jrwren, i dont mean to offend you, but if you have MAC and virtualbox tendencies, this might help a bit (although i'm sure you would have figture dhtis out) | 21:15 |
smoser | http://ubuntu-smoser.blogspot.com/2013/07/using-ubuntu-cloud-images-on-virtualbox.html | 21:15 |
snap-l | Looks like Carl figured out his ride situation | 21:20 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!