summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-datasources.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-02-07 13:09:42 -0500
committerScott Moser <smoser@ubuntu.com>2011-02-07 13:09:42 -0500
commit48564dc9cab705a675cc4751db13af158507e358 (patch)
tree91003a8a5ac173b4d50310521469a98bbe8464a3 /doc/examples/cloud-config-datasources.txt
parent53173904c3bf539097efa4a7d88223e75dd8d103 (diff)
downloadvyos-cloud-init-48564dc9cab705a675cc4751db13af158507e358.tar.gz
vyos-cloud-init-48564dc9cab705a675cc4751db13af158507e358.zip
make DataSourceEc2 configurable (timeout, retries), lower default retries
This lowers the default retries from 100 to 30 (1050 seconds to 105 seconds)
Diffstat (limited to 'doc/examples/cloud-config-datasources.txt')
-rw-r--r--doc/examples/cloud-config-datasources.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-datasources.txt b/doc/examples/cloud-config-datasources.txt
new file mode 100644
index 00000000..3333792e
--- /dev/null
+++ b/doc/examples/cloud-config-datasources.txt
@@ -0,0 +1,10 @@
+# Documentation on data sources configuration options
+datasource:
+ # Ec2
+ Ec2:
+ # timeout: the timeout value for attempt at metadata service
+ timeout : 2
+ # the number of tries that should be attempted at the metadata service
+ # after each try, a sleep of int(try_number/5)+1 is done
+ # default sleep is 30
+ retries : 30