From 30c5870f7cf3157f997b159cf25bb9cbf1117060 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Thu, 13 Jul 2017 15:57:59 +0200 Subject: Make use of existing cirros image in the Functest container Once [1] is merged, the image needed for this test case will be available in /home/opnfv/functest/images/ So, no need to download again. [1] https://gerrit.opnfv.org/gerrit/#/c/37393/ Change-Id: I219fc38cdf5e929ecdba1631d6315f6d076ae5d0 Signed-off-by: jose.lausuch --- tests/functest_run.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/functest_run.sh b/tests/functest_run.sh index 95cf629..fb647c5 100755 --- a/tests/functest_run.sh +++ b/tests/functest_run.sh @@ -17,8 +17,12 @@ PARSER_CI_DEBUG=${CI_DEBUG:-false} debug="" } -# PARSER_IMAGE_URL_FILE=cirros-0.3.0-x86_64-disk.img -PARSER_IMAGE_URL_FILE=cirros-0.3.2-x86_64-disk.img +if [ -n $1 ]; then + PARSER_IMAGE_URL_FILE=$1 +else + # PARSER_IMAGE_URL_FILE=cirros-0.3.0-x86_64-disk.img + PARSER_IMAGE_URL_FILE=cirros-0.3.2-x86_64-disk.img +fi # PARSER_IMAGE_URL=https://launchpad.net/cirros/trunk/0.3.0/+download/${PARSER_IMAGE_URL_FILE} PARSER_IMAGE_URL=http://download.cirros-cloud.net/0.3.2/${PARSER_IMAGE_URL_FILE} # PARSER_IMAGE_NAME=rhel-6.5-test-image -- cgit 1.2.3-korg