Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

By default, Heat wraps your user_data in a multipart MIME archive containing a variety of other Heat-specific data. You can inhibit this behavior by adding the user_data_format key, like this:

type: OS::Nova::Server
properties:
  user_data_format: RAW
  user_data:
    str_replace:
      template: |
        #!/bin/bash -v

        echo 'hello'

With user_data_format: RAW, the user_data in your template will be pased verbatim to cloud-init.