summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-archive.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-01-19 17:32:52 -0500
committerScott Moser <smoser@ubuntu.com>2011-01-19 17:32:52 -0500
commitc5bfd0c45c33de1ade85c940f5d5e6eabc2e27de (patch)
tree25713fe5e2da6b6cef2b4fc4c9375a8fd7957559 /doc/examples/cloud-config-archive.txt
parent5bc0d3898c09d012a9be1eaeaa9dba70029a1db0 (diff)
downloadvyos-cloud-init-c5bfd0c45c33de1ade85c940f5d5e6eabc2e27de.tar.gz
vyos-cloud-init-c5bfd0c45c33de1ade85c940f5d5e6eabc2e27de.zip
add cloud-config-archive input type.
cloud-config-archive is a yaml formated document where the top level should contain an array. Each entry in the array can be one of - dict { 'filename' : 'value' , 'content' : 'value', 'type' : 'value' } filename and type may not be present - scalar(content) if filename and type are not present, they are attempted to be guessed. LP: #641504
Diffstat (limited to 'doc/examples/cloud-config-archive.txt')
-rw-r--r--doc/examples/cloud-config-archive.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-archive.txt b/doc/examples/cloud-config-archive.txt
new file mode 100644
index 00000000..23b1024c
--- /dev/null
+++ b/doc/examples/cloud-config-archive.txt
@@ -0,0 +1,16 @@
+#cloud-config-archive
+- type: foo/wark
+ filename: bar
+ content: |
+ This is my payload
+ hello
+- this is also payload
+- |
+ multi line payload
+ here
+-
+ type: text/upstart-job
+ filename: my-upstart.conf
+ content: |
+ whats this, yo?
+