summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDustin Kirkland <kirkland@x200>2010-08-02 18:29:22 -0400
committerDustin Kirkland <kirkland@x200>2010-08-02 18:29:22 -0400
commit449239e4ffa660a5dd3f323569164a3ac46d3e98 (patch)
tree08908d4022ac813167a56c59afecd9eefc1cc224 /doc
parent81d7b9f56b038b7e49aaef5efbc6c7ec6e11875d (diff)
parentcd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265 (diff)
downloadvyos-cloud-init-449239e4ffa660a5dd3f323569164a3ac46d3e98.tar.gz
vyos-cloud-init-449239e4ffa660a5dd3f323569164a3ac46d3e98.zip
merged
Diffstat (limited to 'doc')
-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' ]