]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/fetch_config
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / fetch_config
diff --git a/ceph/src/fetch_config b/ceph/src/fetch_config
new file mode 100644 (file)
index 0000000..f0787b6
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+conf="$1"
+
+## fetch ceph.conf from some remote location and save it to $conf.
+##
+## make sure this script is executable (chmod +x fetch_config)
+
+##
+## examples:
+##
+
+## from a locally accessible file
+# cp /path/to/ceph.conf $conf
+
+## from a URL:
+# wget -q -O $conf http://somewhere.com/some/ceph.conf 
+
+## via scp
+# scp -i /path/to/id_dsa user@host:/path/to/ceph.conf $conf
+