diff options
author | Xiaoyu Zhong <topaz.zhong@gmail.com> | 2021-01-07 23:14:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 10:14:33 -0500 |
commit | 30da21bd299a7eb5a4c6f7b6a29ca09359327e41 (patch) | |
tree | 8920645eab679da682d2e2a2e83dfb432c697d45 /doc | |
parent | e5c67478136e1942a981ee18785ceb26579d0041 (diff) | |
download | cloud-init-git-30da21bd299a7eb5a4c6f7b6a29ca09359327e41.tar.gz |
Add example configuration for datasource `AliYun` (#751)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rtd/topics/datasources/aliyun.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/rtd/topics/datasources/aliyun.rst b/doc/rtd/topics/datasources/aliyun.rst index 3f4f40ca..587bd4f4 100644 --- a/doc/rtd/topics/datasources/aliyun.rst +++ b/doc/rtd/topics/datasources/aliyun.rst @@ -12,6 +12,21 @@ The Alibaba Cloud metadata service is available at the well known url Alibaba Cloud ECS on `metadata <https://www.alibabacloud.com/help/zh/faq-detail/49122.htm>`__. +Configuration +------------- +The following configuration can be set for the datasource in system +configuration (in ``/etc/cloud/cloud.cfg`` or ``/etc/cloud/cloud.cfg.d/``). + +An example configuration with the default values is provided below: + +.. sourcecode:: yaml + + datasource: + AliYun: + metadata_urls: ["http://100.100.100.200"] + timeout: 50 + max_wait: 120 + Versions ^^^^^^^^ Like the EC2 metadata service, Alibaba Cloud's metadata service provides |