From d73c7495fa2e8d75868faecbcf8ba7d28f0618c4 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 30 Sep 2014 16:24:38 -0400 Subject: [PATCH] add doc --- doc/examples/cloud-config-mount-points.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/examples/cloud-config-mount-points.txt b/doc/examples/cloud-config-mount-points.txt index 416006db..3b45b47f 100644 --- a/doc/examples/cloud-config-mount-points.txt +++ b/doc/examples/cloud-config-mount-points.txt @@ -37,3 +37,10 @@ mounts: # complete. This must be an array, and must have 7 fields. mount_default_fields: [ None, None, "auto", "defaults,nobootwait", "0", "2" ] + +# swap can also be set up by the 'mounts' module +# default is to not create any swap files, because 'size' is set to 0 +swap: + filename: /swap.img + size: "auto" or size in bytes + maxsize: size in bytes