From fd1b2ab551ca98735282aff554f689dd5a9df3f0 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 25 Jan 2011 05:40:05 +0000 Subject: add support for posting data to a URL (phone_home) There is no default configured. Nothing is done by default. --- doc/examples/cloud-config.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') 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 ] -- cgit v1.2.3