summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-01-25 05:40:05 +0000
committerScott Moser <smoser@ubuntu.com>2011-01-25 05:40:05 +0000
commitfd1b2ab551ca98735282aff554f689dd5a9df3f0 (patch)
treeacfedda8a1e19e2859a400696411c45c3fb66909 /doc/examples/cloud-config.txt
parentfb2d4770fb3c5ba16c01ebb64a66e7ef988ffa42 (diff)
downloadvyos-cloud-init-fd1b2ab551ca98735282aff554f689dd5a9df3f0.tar.gz
vyos-cloud-init-fd1b2ab551ca98735282aff554f689dd5a9df3f0.zip
add support for posting data to a URL (phone_home)
There is no default configured. Nothing is done by default.
Diffstat (limited to 'doc/examples/cloud-config.txt')
-rw-r--r--doc/examples/cloud-config.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt
index a55670f6..1ba51243 100644
--- a/doc/examples/cloud-config.txt
+++ b/doc/examples/cloud-config.txt
@@ -310,3 +310,17 @@ output:
final:
output: "| tee /tmp/final.stdout | tee /tmp/bar.stdout"
error: "&1"
+
+
+# phone_home: if this dictionary is present, then the phone_home
+# cloud-config module will post specified data back to the given
+# url
+# default: none
+# phone_home:
+# url: http://my.foo.bar/$INSTANCE/
+# post: all
+# tries: 10
+#
+phone_home:
+ url: http://my.example.com/$INSTANCE_ID/
+ post: [ pub_key_dsa, pub_key_rsa, instance_id ]