summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-phone-home.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/cloud-config-phone-home.txt')
-rw-r--r--doc/examples/cloud-config-phone-home.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-phone-home.txt b/doc/examples/cloud-config-phone-home.txt
new file mode 100644
index 00000000..7f2b69f7
--- /dev/null
+++ b/doc/examples/cloud-config-phone-home.txt
@@ -0,0 +1,14 @@
+#cloud-config
+
+# 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, pub_key_ecdsa, instance_id ]