19 lines
461 B
YAML
19 lines
461 B
YAML
#cloud-config
|
|
# vim: syntax=yaml
|
|
# Mounts volfile exported by glusterfsd running on
|
|
# "volfile-server-hostname" onto the local mount point '/mnt/data'
|
|
#
|
|
# In reality, replace 'volfile-server-hostname' with one of your nodes
|
|
# running glusterfsd.
|
|
#
|
|
packages:
|
|
- glusterfs-client
|
|
|
|
mounts:
|
|
- [ 'volfile-server-hostname:6996', /mnt/data, glusterfs, "defaults,nobootwait", "0", "2" ]
|
|
|
|
runcmd:
|
|
- [ modprobe, fuse ]
|
|
- [ mkdir, '-p', /mnt/data ]
|
|
- [ mount, '-a' ]
|