ceph/examples/rbd-replay/create-image
Sage Weil d4cc161566 cleanup: src/.libs -> build/lib
Clean up remaining traces of automake's .libs.  This makes unittest_*
tests easier to run by hand (mostly).

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:47 -06:00

9 lines
245 B
Bash
Executable File

#!/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