mirror of
https://github.com/ceph/ceph
synced 2024-12-22 19:34:30 +00:00
3aae5ca6fd
/bin/bash is a Linuxism. Other operating systems install bash to different paths. Use /usr/bin/env in shebangs to find bash. Signed-off-by: Alan Somers <asomers@gmail.com>
9 lines
245 B
Bash
Executable File
9 lines
245 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
pool=rbd
|
|
image=my-image
|
|
size=10G
|
|
export LD_LIBRARY_PATH=../../src/.libs
|
|
#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
|