ungleich-tools/ceph-pool-create
Nico Schottelius 8fdebd0c45 Remove warning
2018-02-18 21:49:26 +01:00

12 lines
179 B
Bash
Executable file

#!/bin/sh
if [ $# -ne 2 ]; then
echo "$0 name pgs"
exit 1
fi
name=$1; shift
pg=$1;shift
ceph osd pool create "$name" "$pg"
ceph osd pool application enable "$name" rbd