From cf556d2a81514b0753f45cc338fedf0bda51574e Mon Sep 17 00:00:00 2001 From: Rob Szumski Date: Tue, 29 Apr 2014 11:11:57 -0700 Subject: [PATCH] feat(docs): include write_files example --- Documentation/cloud-config.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/cloud-config.md b/Documentation/cloud-config.md index cdb6290..fe95a1f 100644 --- a/Documentation/cloud-config.md +++ b/Documentation/cloud-config.md @@ -293,6 +293,16 @@ The `write-file` parameter defines a list of files to create on the local filesy Explicitly not implemented is the **encoding** attribute. The **content** field must represent exactly what should be written to disk. +``` +#cloud-config +write_files: + - path: /etc/fleet/fleet.conf + permissions: 0644 + content: | + verbosity=1 + metadata="region=us-west,type=ssd" +``` + ### manage_etc_hosts The `manage_etc_hosts` parameter configures the contents of the `/etc/hosts` file, which is used for local name resolution.