summaryrefslogtreecommitdiff
path: root/src/fetch_config
blob: f0787b689b4b3f7efe5a49aa9769ce74e7620a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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