userdata: add #cloud-config in examples
We forced the user_data starts with #cloud-config. But the example missed this part. Change-Id: Iba1bb7315305bdb269f3abfac11b6fc0ba1d67fe Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn>
This commit is contained in:
@@ -113,6 +113,8 @@ The following cloud-config directives are supported:
|
|||||||
.. code-block:: xml
|
.. code-block:: xml
|
||||||
|
|
||||||
# One item
|
# One item
|
||||||
|
|
||||||
|
#cloud-config
|
||||||
write_files:
|
write_files:
|
||||||
encoding: b64
|
encoding: b64
|
||||||
content: NDI=
|
content: NDI=
|
||||||
@@ -122,6 +124,8 @@ The following cloud-config directives are supported:
|
|||||||
.. code-block:: xml
|
.. code-block:: xml
|
||||||
|
|
||||||
# Multiple items
|
# Multiple items
|
||||||
|
|
||||||
|
#cloud-config
|
||||||
write_files:
|
write_files:
|
||||||
- encoding: b64
|
- encoding: b64
|
||||||
content: NDI=
|
content: NDI=
|
||||||
|
Reference in New Issue
Block a user