From d16ec2bcd41c232bb968d2a5d8f0dcbd8e6429d8 Mon Sep 17 00:00:00 2001 From: Chen Hanxiao Date: Fri, 16 Mar 2018 16:28:29 +0800 Subject: [PATCH] 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 --- doc/source/userdata.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/source/userdata.rst b/doc/source/userdata.rst index b1220e4b..835f0fa3 100644 --- a/doc/source/userdata.rst +++ b/doc/source/userdata.rst @@ -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=