diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/functest_run.sh | 8 |
1 files 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 |