diff options
author | Clint Byrum <clint@ubuntu.com> | 2010-07-08 13:22:47 -0700 |
---|---|---|
committer | Clint Byrum <clint@ubuntu.com> | 2010-07-08 13:22:47 -0700 |
commit | cd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265 (patch) | |
tree | a1e686e5c473941dadcebaf2aa15399ab47de836 /doc | |
parent | 93fc41ed689c1380f60ee774fd20101829a5cafb (diff) | |
download | vyos-cloud-init-cd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265.tar.gz vyos-cloud-init-cd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265.zip |
Adding gluster example
Diffstat (limited to 'doc')
-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' ] |