diff options
Diffstat (limited to 'src/fetch_config')
-rw-r--r-- | src/fetch_config | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/fetch_config b/src/fetch_config new file mode 100644 index 00000000000..f0787b689b4 --- /dev/null +++ b/src/fetch_config @@ -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 + |