Adding gluster example
This commit is contained in:
parent
c6ec5d2de3
commit
49c50a26c7
18
doc/examples/cloud-config-gluster.txt
Normal file
18
doc/examples/cloud-config-gluster.txt
Normal file
@ -0,0 +1,18 @@
|
||||
#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' ]
|
Loading…
Reference in New Issue
Block a user