diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-05-26 10:13:00 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-05-26 10:15:03 +0800 |
commit | 27473298c290b39a876f7e67ce3d5e6b5b9ef799 (patch) | |
tree | 2e78b05f56e6addc0e10ce31df5382734434b982 /ci/deploy | |
parent | 8f3626f39a5e0eb1be7a971dcc2accf5a0b8b569 (diff) |
Create ceph disk in bash script
Change-Id: Ib80710c784d384ebc27eb0f51fcb4384017eecca
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'ci/deploy')
-rwxr-xr-x | ci/deploy/deploy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh index 6c88dc5a..27d91f84 100755 --- a/ci/deploy/deploy.sh +++ b/ci/deploy/deploy.sh @@ -312,7 +312,8 @@ if [ $IS_BARE == 0 ];then virsh net-autostart daisy2 virsh net-start daisy2 for ((i=0;i<${#VM_MULTINODE[@]};i++));do - qemu-img create -f qcow2 ${VM_STORAGE}/${VM_MULTINODE[$i]}.qcow2 200G + qemu-img create -f qcow2 ${VM_STORAGE}/${VM_MULTINODE[$i]}.qcow2 120G + qemu-img create -f qcow2 ${VM_STORAGE}/${VM_MULTINODE[$i]}_data.qcow2 150G virsh define ${VMDEPLOY_NODE[$i]} virsh start ${VM_MULTINODE[$i]} done |