summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2020-02-13 19:48:34 -0700
committerGitHub <noreply@github.com>2020-02-13 20:48:34 -0600
commitc90932f5cb68e789636c5e6b0b74fceb1d38c6a4 (patch)
treef6e30f337c5e13afab1cf8d5e59ec5bc7607153b
parentecffd25df840277ab1fa7d5372659abe833cacbe (diff)
downloadvyos-cloud-init-c90932f5cb68e789636c5e6b0b74fceb1d38c6a4.tar.gz
vyos-cloud-init-c90932f5cb68e789636c5e6b0b74fceb1d38c6a4.zip
docs: mount_default_files is a list of 6 items, not 7 (#212)
-rw-r--r--cloudinit/config/cc_mounts.py2
-rw-r--r--doc/examples/cloud-config-mount-points.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_mounts.py b/cloudinit/config/cc_mounts.py
index 4293844c..4ae3f1fc 100644
--- a/cloudinit/config/cc_mounts.py
+++ b/cloudinit/config/cc_mounts.py
@@ -25,7 +25,7 @@ mountpoint (i.e. ``[ sda1 ]`` or ``[ sda1, null ]``).
The ``mount_default_fields`` config key allows default options to be specified
for the values in a ``mounts`` entry that are not specified, aside from the
-``fs_spec`` and the ``fs_file``. If specified, this must be a list containing 7
+``fs_spec`` and the ``fs_file``. If specified, this must be a list containing 6
values. It defaults to::
mount_default_fields: [none, none, "auto", "defaults,nobootwait", "0", "2"]
diff --git a/doc/examples/cloud-config-mount-points.txt b/doc/examples/cloud-config-mount-points.txt
index 5a6c24f5..bce28bf8 100644
--- a/doc/examples/cloud-config-mount-points.txt
+++ b/doc/examples/cloud-config-mount-points.txt
@@ -34,7 +34,7 @@ mounts:
# mount_default_fields
# These values are used to fill in any entries in 'mounts' that are not
-# complete. This must be an array, and must have 7 fields.
+# complete. This must be an array, and must have 6 fields.
mount_default_fields: [ None, None, "auto", "defaults,nofail", "0", "2" ]