[openstack-dev] [heat][hot]

Zane Bitter zbitter at redhat.com
Mon Jan 26 17:31:19 UTC 2015


On 25/01/15 10:41, Dmitry wrote:
> Hello,
> I need to receive instance id as part of the instance installation script.
> Something like:
> params:
>            $current_id: {get_param: $this.id <http://this.id>}

I have no idea what this is supposed to mean, sorry.

> Is it possible?

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).

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.

cheers,
Zane.



More information about the OpenStack-dev mailing list