diff options
Diffstat (limited to 'src/spdk/scripts/gen_rbd.sh')
-rwxr-xr-x | src/spdk/scripts/gen_rbd.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/spdk/scripts/gen_rbd.sh b/src/spdk/scripts/gen_rbd.sh new file mode 100755 index 00000000..07fdbd1e --- /dev/null +++ b/src/spdk/scripts/gen_rbd.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -e + +if ! hash ceph &> /dev/null; then + exit 0 +fi + +echo +echo "[Ceph]" +echo " Ceph $RBD_POOL $RBD_NAME 512" |