ucloud-setup/get_ceph_config.sh
2019-08-29 16:44:24 +05:00

8 lines
No EOL
201 B
Bash

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
sftp $1@$2:/etc/ceph