diff options
-rw-r--r-- | cloudinit/CloudConfig/cc_mounts.py | 4 | ||||
-rw-r--r-- | doc/examples/cloud-config.txt | 2 |
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) |