summaryrefslogtreecommitdiffstats
path: root/examples/rbd-replay/create-image
blob: 87892678575bca847ad34f10fdef26e5d3ab08a1 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

pool=rbd
image=my-image
size=10G
export LD_LIBRARY_PATH=../../build/lib
#qemu-img create -f raw rbd:$pool/$image:conf=../../src/ceph.conf $size
qemu-img convert linux-0.2.img -O raw rbd:$pool/$image:conf=../../src/ceph.conf