[08:31] <Odd_Bloke> Wulf: cloud-init does fetch and use EC2 metadata; what specifically are you looking to do?
[09:13] <Wulf> Odd_Bloke: how can I access this metadata from a userscript (x-shellscript mime part)?
[09:14] <Wulf> Odd_Bloke: what I'm looking for is information about the hard drives. I need to get a list of all instance store drives and temp ebs drives attached on launch.  Other ebs drives must be excluded.
[09:15] <Odd_Bloke> Wulf: You could poke around in /var/lib/cloud to see if it's available to you there; if not, then you can always query the metadata server yourself.
[09:15] <Wulf> Odd_Bloke: well, it's not available there
[09:15] <Odd_Bloke> Wulf: I don't think cloud-init provides any particular way of doing this, though.
[09:17] <Odd_Bloke> Wulf: That's the only place cloud-init fetches EC2 metadata from, so you may out of luck in that case. :(
[09:17] <Wulf> Odd_Bloke: no, I mean it's not available from /var/lib/cloud
[09:17] <Wulf> But I remember having seen it there. Some time ago.
[09:17] <Odd_Bloke> Wulf: Oh, OK; in that case, you'll need to query the metadata server yourself. :)
[09:20] <Wulf> Odd_Bloke: I could do that. But I don't want to reinvent the wheel
[09:22] <Odd_Bloke> Wulf: If it isn't in /var/lib/cloud/ you aren't reinventing the wheel. :)
[09:23] <Wulf> Odd_Bloke: but I know that cloud-init has some code for reading the meta data. Just want to know how to use it.
[09:23] <Wulf> The wheel exists, it's right in front of me. But somehow I can't get it to spin
[09:25] <Odd_Bloke> Wulf: You could try using the Python functions in http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/ec2_utils.py
[09:25] <Odd_Bloke> Wulf: But I don't know that that's considered a public interface, so don't necessarily expect it to be stable.
[09:27] <Odd_Bloke> To extend your analogy, you can try using that wheel, but don't be surprised if the car it's attached to drives off and runs your fingers over. ;)
[10:01] <sfriesel> this metaphor went too far
[10:02] <Odd_Bloke> s/extend/over-extend/
[10:08] <Wulf> Odd_Bloke: I'm wondering where the car came from. Not every wheel is attached to a car.
[19:58] <Guest20454> smoser: sorry for super late update (was on PTO for ~2 weeks), latest cloud-init works fine for me. Thanks!
[19:58] <mgagne> smoser: that was me ^
[20:01] <harlowja> no PTO allowed
[20:01] <harlowja> lol
[20:03] <smoser> mgagne, horay!
[20:03] <mgagne> tyvm all for your work! much appreciated
[20:03] <smoser> and that should be soon in xenial
[20:04] <smoser> (its in -proposed)
[21:15] <raylu> i have a cloud-config file. is there a way to get cloudinit to stop everything if a command fails?
[21:17] <raylu> (as in not run the rest of the commands - something like sh's set -e
[21:17] <raylu> )
[21:24] <harlowja> raylu not afaik
[21:33] <raylu> :(