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:
Chen Hanxiao 2018-03-16 16:28:29 +08:00
parent f9c15d2214
commit d16ec2bcd4
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,8 @@ The following cloud-config directives are supported:
.. code-block:: xml
# One item
#cloud-config
write_files:
encoding: b64
content: NDI=
@ -122,6 +124,8 @@ The following cloud-config directives are supported:
.. code-block:: xml
# Multiple items
#cloud-config
write_files:
- encoding: b64
content: NDI=