dovetail: sdnvpn pre-image download into pre_config dir 23/35623/1
authorMatthewLi <matthew.lijun@huawei.com>
Thu, 1 Jun 2017 03:10:58 +0000 (23:10 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Thu, 1 Jun 2017 03:12:16 +0000 (23:12 -0400)
JIRA: DOVETAIL-441

Change-Id: I582dc2dbf9f875e95e19f413b7b3d8f81746df3f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
jjb/dovetail/dovetail-run.sh

index becf56a..dce7e58 100755 (executable)
@@ -101,6 +101,9 @@ if [ "$INSTALLER_TYPE" == "fuel" ]; then
     sshpass -p r00tme sudo scp $ssh_options root@${INSTALLER_IP}:~/.ssh/id_rsa ${DOVETAIL_CONFIG}/id_rsa
 fi
 
+# sdnvpn test case needs to download this image first before running
+sudo wget -nc http://artifacts.opnfv.org/sdnvpn/ubuntu-16.04-server-cloudimg-amd64-disk1.img -P ${DOVETAIL_CONFIG}
+
 opts="--privileged=true -id"
 
 docker_volume="-v /var/run/docker.sock:/var/run/docker.sock"