summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-gluster.txt
diff options
context:
space:
mode:
authorClint Byrum <clint@ubuntu.com>2010-07-08 13:22:47 -0700
committerClint Byrum <clint@ubuntu.com>2010-07-08 13:22:47 -0700
commitcd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265 (patch)
treea1e686e5c473941dadcebaf2aa15399ab47de836 /doc/examples/cloud-config-gluster.txt
parent93fc41ed689c1380f60ee774fd20101829a5cafb (diff)
downloadvyos-cloud-init-cd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265.tar.gz
vyos-cloud-init-cd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265.zip
Adding gluster example
Diffstat (limited to 'doc/examples/cloud-config-gluster.txt')
-rw-r--r--doc/examples/cloud-config-gluster.txt18
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' ]