summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Cluet <marc.cluet@ubuntu.com>2011-07-25 13:27:27 +0100
committerMarc Cluet <marc.cluet@ubuntu.com>2011-07-25 13:27:27 +0100
commit57ea45b2bc86895582de65928c555e6f0430b287 (patch)
tree6bea9226c35341a9884b9744d1399f7353976613 /doc
parenta3dcbac2528f7c8ecaedeca64c4792f7e3d4ee59 (diff)
downloadvyos-cloud-init-57ea45b2bc86895582de65928c555e6f0430b287.tar.gz
vyos-cloud-init-57ea45b2bc86895582de65928c555e6f0430b287.zip
Added new feature include-once
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/include-once.txt7
-rw-r--r--doc/userdata.txt8
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/examples/include-once.txt b/doc/examples/include-once.txt
new file mode 100644
index 00000000..0cf74e5e
--- /dev/null
+++ b/doc/examples/include-once.txt
@@ -0,0 +1,7 @@
+#include-once
+# entries are one url per line. comment lines beginning with '#' are allowed
+# urls are passed to urllib.urlopen, so the format must be supported there
+# This entries will just be processed ONE TIME by cloud-init, any further
+# iterations won't process this file
+http://www.ubuntu.com/robots.txt
+http://www.w3schools.com/html/lastpage.htm
diff --git a/doc/userdata.txt b/doc/userdata.txt
index 00c16b25..3af1e632 100644
--- a/doc/userdata.txt
+++ b/doc/userdata.txt
@@ -36,6 +36,14 @@ finds. However, certain types of user-data are handled specially.
will be passed through this same set of rules. Ie, the content
read from the URL can be gzipped, mime-multi-part, or plain text
+* Include File Once
+ begins with #include-once or Content-Type: text/x-include-once-url
+ This content is a "include" file. The file contains a list of
+ urls, one per line. Each of the URLs will be read, and their content
+ will be passed through this same set of rules. Ie, the content
+ read from the URL can be gzipped, mime-multi-part, or plain text
+ This file will just be processed once by cloud-init
+
* Cloud Config Data
begins with #cloud-config or Content-Type: text/cloud-config