Hi Daniel, if you are using the latest trunk, you can do this:

resources:
  yourServer:
    type: OS::Nova::Server
    properties:
      user_data: |
        Here is the raw data
      user_data_format: RAW

Note that when using this RAW format, Heat will not configure the server
for usage with heat-cfntools. If you want to use the default way, you
can just make your user_data script an executable which writes out the
content you want at a local file.

http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server

Excerpts from Daniel Kuffner's message of 2013-11-06 06:14:42 -0800:
> Hello,
> 
> Can somebody point me out how I can specify user data in a heat template?
> I would like consume user data via metadata service.
> 
> thanks a lot
> Daniel
> 

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to