summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-07-08 21:00:12 -0400
committerScott Moser <smoser@ubuntu.com>2010-07-08 21:00:12 -0400
commit9d683e844d75ce375670638dece900fa3f21c78d (patch)
tree5f492bf87ce484733bab0f9c6a7265c678316f89
parentb5c3659c29db2177665ff6c1c10587bc1d8eba1f (diff)
downloadvyos-cloud-init-9d683e844d75ce375670638dece900fa3f21c78d.tar.gz
vyos-cloud-init-9d683e844d75ce375670638dece900fa3f21c78d.zip
change default 'pass' entry to '2' rather than 0
-rw-r--r--cloudinit/CloudConfig/cc_mounts.py4
-rw-r--r--doc/examples/cloud-config.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/CloudConfig/cc_mounts.py b/cloudinit/CloudConfig/cc_mounts.py
index 58cd9f4c..32cfe02e 100644
--- a/cloudinit/CloudConfig/cc_mounts.py
+++ b/cloudinit/CloudConfig/cc_mounts.py
@@ -30,11 +30,11 @@ def is_mdname(name):
def handle(name,cfg,cloud,log,args):
# these are our default set of mounts
- defmnts = [ [ "ephemeral0", "/mnt", "auto", "defaults", "0", "0" ],
+ defmnts = [ [ "ephemeral0", "/mnt", "auto", "defaults", "0", "2" ],
[ "swap", "none", "swap", "sw", "0", "0" ] ]
# fs_spec, fs_file, fs_vfstype, fs_mntops, fs-freq, fs_passno
- defvals = [ None, None, "auto", "defaults,nobootwait", "0", "0" ]
+ defvals = [ None, None, "auto", "defaults,nobootwait", "0", "2" ]
cfgmnt = [ ]
if cfg.has_key("mounts"):
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt
index ed1ef47f..ec1ad17b 100644
--- a/doc/examples/cloud-config.txt
+++ b/doc/examples/cloud-config.txt
@@ -102,7 +102,7 @@ packages:
# written to /etc/fstab.
# - '/dev' can be ommitted for device names that begin with: xvd, sd, hd, vd
# - if an entry does not have all 6 fields, they will be filled in
-# from the following: [ None, None, "auto", "defaults,nobootwait", "0", "0" ]
+# from the following: [ None, None, "auto", "defaults,nobootwait", "0", "2" ]
#
# Note, that you should set 'nobootwait' (see man fstab) for volumes that may
# not be attached at instance boot (or reboot)