14 lines
236 B
Bash
Executable file
14 lines
236 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ $# -ne 2 ]; then
|
|
echo "$0 name pgs"
|
|
exit 1
|
|
fi
|
|
|
|
echo "This script is not finished to create pool $pool"
|
|
|
|
name=$1; shift
|
|
pg=$1;shift
|
|
|
|
ceph osd pool create "$name" "$pg"
|
|
ceph osd pool application enable "$name" rbd
|