mirror of
https://github.com/ceph/ceph
synced 2024-12-22 19:34:30 +00:00
21 lines
384 B
Plaintext
21 lines
384 B
Plaintext
|
#!/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
|
||
|
|