Scroll to navigation

write-mime-multipart(1) cloud-utils write-mime-multipart(1)


write-mime-multipart - utilty for creating mime-multipart files, likely for use via user data and cloud-init.


write-mime-multipart [options]


This program is intended to help write data that can be consumed by cloud-init. cloud-init reads mime multipart as user-data.

Show usage message

write output to FILE [default is stdout]

compress output with gzip

if not provided assume mime-type of DEFTYPE [default is 'text/plain']

use delimiter DELIM [default is ':']


write-mime-multipart --gzip --output=combined-userdata.txt boothook.txt:text/cloud-boothook include-file.txt:text/x-include-url


This manpage and the utility was written by Scott Moser <>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.

11 Jan 2011 cloud-utils