onitake commented on pull request #132:
URL:
https://github.com/apache/cloudstack-documentation/pull/132#issuecomment-635520373
One more thing: Simply base64 the cloud-config and passing it to cloudmonkey
is not enough. It needs to be a proper multi-part MIME message, such as this
one:
```
Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0
--//
Content-Type: text/cloud-config; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="cloud-config.txt"
#cloud-config
write_files:
- path: /testfile
content: hello world
```
I think I'm also going to add this to the example.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]