Cloudinit on OSX

write-mime-multipart

1
2
3
cd /usr/local/bin/
wget https://raw.githubusercontent.com/lovelysystems/cloud-init/master/tools/write-mime-multipart
chmod a+x write-mime-multipart

Modify its python path to your real path, ex: /usr/local/bin/python

Sample command:

1
write-mime-multipart --output=combined-userdata.txt cloudinit-gitlab.yml:text/cloud-config cloudinit-docker.sh:text/x-shellscript

References

. Q&A

comments powered by Disqus