change default 'pass' entry to '2' rather than 0

This commit is contained in:
Scott Moser
2010-07-08 21:00:12 -04:00
parent eb10f10aed
commit ed8fa28ef1
2 changed files with 3 additions and 3 deletions

View File

@@ -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"):

View File

@@ -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)