]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | conf="$1" | |
3 | ||
4 | ## fetch ceph.conf from some remote location and save it to $conf. | |
5 | ## | |
6 | ## make sure this script is executable (chmod +x fetch_config) | |
7 | ||
8 | ## | |
9 | ## examples: | |
10 | ## | |
11 | ||
12 | ## from a locally accessible file | |
13 | # cp /path/to/ceph.conf $conf | |
14 | ||
15 | ## from a URL: | |
16 | # wget -q -O $conf http://somewhere.com/some/ceph.conf | |
17 | ||
18 | ## via scp | |
19 | # scp -i /path/to/id_dsa user@host:/path/to/ceph.conf $conf | |
20 |