diff options
Diffstat (limited to 'doc/examples/cloud-config-gluster.txt')
-rw-r--r-- | doc/examples/cloud-config-gluster.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-gluster.txt b/doc/examples/cloud-config-gluster.txt new file mode 100644 index 00000000..f8183e77 --- /dev/null +++ b/doc/examples/cloud-config-gluster.txt @@ -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' ] |