<div dir="ltr">thanks, exactly what I was looking for:<div><span style="color:rgb(0,0,0);font-family:Verdana,Georgia,serif;font-size:14px">curl </span><a rel="nofollow" href="http://169.254.169.254/1.0/meta-data/instance-id" target="_blank" style="color:rgb(43,62,174);font-family:Verdana,Georgia,serif;font-size:14px">http://169.254.169.254/1.0/meta-data/instance-id</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 7:31 PM, Zane Bitter <span dir="ltr"><<a href="mailto:zbitter@redhat.com" target="_blank">zbitter@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 25/01/15 10:41, Dmitry wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hello,<br>
I need to receive instance id as part of the instance installation script.<br>
Something like:<br>
params:<br></span>
$current_id: {get_param: $<a href="http://this.id" target="_blank">this.id</a> <<a href="http://this.id" target="_blank">http://this.id</a>>}<br>
</blockquote>
<br>
I have no idea what this is supposed to mean, sorry.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it possible?<br>
</blockquote>
<br>
The get_resource function will return the server UUID for a server resource, but you can't use it from within that resource itself (it would be a circular reference).<br>
<br>
The UUID of a server is provided to the server through the Nova metadata; you should retrieve it from there in your user_data script.<br>
<br>
cheers,<br>
Zane.<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>______________________________<u></u>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.<u></u>openstack.org?subject:<u></u>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></div><br></div>