summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-01-26 22:53:00 -0500
committerScott Moser <smoser@ubuntu.com>2010-01-26 22:53:00 -0500
commiteb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4 (patch)
tree89d6cdf38758b68639bf5f8d8fbcb220f2ce1f71 /tools
parent4f389802609dd1a764bd93f2babda7e9eef7f1ba (diff)
downloadvyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.tar.gz
vyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.zip
add doc/userdata.txt, move examples to doc/.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/write-mime-multipart2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/write-mime-multipart b/tools/write-mime-multipart
index a6781876..b83073c1 100755
--- a/tools/write-mime-multipart
+++ b/tools/write-mime-multipart
@@ -96,7 +96,7 @@ def main():
ofile = file(options.output,"wb")
if options.compress:
- gfile = gzip.GzipFile(fileobj=ofile)
+ gfile = gzip.GzipFile(fileobj=ofile, filename = options.output )
gfile.write(outer.as_string())
gfile.close()
else: