summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2018-08-08 17:24:11 +0800
committerAlex Yang <yangyang1@zte.com.cn>2018-08-08 17:24:11 +0800
commit0670fed39189911eaf3372574bb0ecb56e2ce67a (patch)
treeefb84e9ca582d6c150e2953a7feae71a4fdca1fe
parent69c6a946562435b1aafe846b3381dec6c7b5580a (diff)
Correct the img location in kolla build job
Change-Id: Id1e2d7d3ddfbc330b623a8ee7cfc8400ceb0e4ca Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
-rwxr-xr-xci/kolla-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/kolla-build.sh b/ci/kolla-build.sh
index cca98db..fe7a667 100755
--- a/ci/kolla-build.sh
+++ b/ci/kolla-build.sh
@@ -108,6 +108,7 @@ function create_daisy_vm_and_networks()
{
echo "====== Create Daisy VM ======"
$CREATE_QCOW2_PATH/daisy-img-modify.sh -c $CREATE_QCOW2_PATH/centos-img-modify.sh -w $IMWORKDIR -a $DAISY_IP $PARAS_IMAGE
+ sed -i -e "/source * file/{s|source.*$|source file=\'$IMWORKDIR\/centos7.qcow2\'\/>|;}" $VMDEPLOY_DAISY_SERVER_VM
virsh net-define $VMDELOY_DAISY_SERVER_NET
virsh net-start daisy1