4
# 'mounts' contains a list of lists
5
# the inner list are entries for an /etc/fstab line
6
# ie : [ fs_spec, fs_file, fs_vfstype, fs_mntops, fs-freq, fs_passno ]
10
# - [ ephemeral0, /mnt ]
11
# - [ swap, none, swap, sw, 0, 0 ]
13
# in order to remove a previously listed mount (ie, one from defaults)
14
# list only the fs_spec. For example, to override the default, of
20
# - if a device does not exist at the time, an entry will still be
21
# written to /etc/fstab.
22
# - '/dev' can be ommitted for device names that begin with: xvd, sd, hd, vd
23
# - if an entry does not have all 6 fields, they will be filled in
24
# with values from 'mount_default_fields' below.
26
# Note, that you should set 'nobootwait' (see man fstab) for volumes that may
27
# not be attached at instance boot (or reboot)
30
- [ ephemeral0, /mnt, auto, "defaults,noexec" ]
32
- [ xvdh, /opt/data, "auto", "defaults,nobootwait", "0", "0" ]
35
# mount_default_fields
36
# These values are used to fill in any entries in 'mounts' that are not
37
# complete. This must be an array, and must have 7 fields.
38
mount_default_fields: [ None, None, "auto", "defaults,nobootwait", "0", "2" ]
41
# swap can also be set up by the 'mounts' module
42
# default is to not create any swap files, because 'size' is set to 0
45
size: "auto" # or size in bytes
46
maxsize: size in bytes