Comment 2 for bug 1884071

Revision history for this message
Scott Moser (smoser) wrote :

Thank you for taking the time to file a bug on cloud-init.

Is there a reason you base64 encoded the content? Was their documentation
to lead you to believe you should? Some clouds (ec2) require the user of
the API to base64 user-data when posted to their API.

Cloud-init should correctly treat the user-data on Hetzner cloud as binary
content and uncompress it if it is gzipped data. You should not need to
base64 encode it.

If you need to make it some text-friendly format, you could try one of the
other formats described in [1]. Both cloud-config-archive and mime
multipart are text friendly formats.

 [1] https://cloudinit.readthedocs.io/en/latest/topics/format.html?highlight=include%20file#id2

If you think I've mis-diagnosed this, please feel free to put more
information in and set the Status back to New.