ucloud-setup/get_ceph_config.sh

8 lines
221 B
Bash
Raw Normal View History

2019-08-29 11:44:24 +00:00
if [ $# -lt 2 ]; then
echo "arg1: username of ceph host (ssh) e.g root"
echo "arg2: url/ip of ceph host e.g ceph-test.llnu.ungleich.cloud"
exit 1
fi
mkdir -p /etc/ceph
2019-08-29 11:45:40 +00:00
sftp -b ./ceph_batch_cmd $1@$2:/etc/ceph