Hi Clint, I use heat default (no format specified, since it didn't work with my version of heat) and I figured out that my user data will be written to /var/lib/cloud/data/cfn-userdata So I adjusted my scripts to use this file.
thanks for your input, Daniel On Sun, Nov 10, 2013 at 1:37 AM, Clint Byrum <[email protected]> wrote: > 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 _______________________________________________ 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
