1write-mime-multipart(1) cloud-utils write-mime-multipart(1)
2
3
4
6 write-mime-multipart - utilty for creating mime-multipart files, likely
7 for use via user data and cloud-init.
8
9
11 write-mime-multipart [options]
12
13
15 This program is intended to help write data that can be consumed by
16 cloud-init. cloud-init reads mime multipart as user-data.
17
18
19 -h | --help
20 Show usage message
21
22
23 -o | --output FILE
24 write output to FILE [default is stdout]
25
26
27 -z | --gzip
28 compress output with gzip
29
30
31 -d | --default DEFTYPE
32 if not provided assume mime-type of DEFTYPE [default is
33 'text/plain']
34
35
36 --delim DELIM
37 use delimiter DELIM [default is ':']
38
39
41 write-mime-multipart --gzip --output=combined-userdata.txt
42 boothook.txt:text/cloud-boothook include-file.txt:text/x-include-url
43
44
46 This manpage and the utility was written by Scott Moser
47 <scott.moser@canonical.com>. Permission is granted to copy, distribute
48 and/or modify this document under the terms of the GNU General Public
49 License, Version 3 published by the Free Software Foundation.
50
51 On Debian systems, the complete text of the GNU General Public License
52 can be found in /usr/share/common-licenses/GPL.
53
54
55
56cloud-utils 11 Jan 2011 write-mime-multipart(1)