summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorzhifeng jiang <jiang.zhifeng@zte.com.cn>2016-10-26 05:25:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-26 05:25:44 +0000
commitee12d3e19d914d5d7c4a750ab8ddb93b74d242dc (patch)
tree25bb1f6f01b15ae4758335275bc152b9185d38af /docker
parentc9dc8ffa175f8aac4ced5ac43c189c60d403d4f9 (diff)
parent62d00c20476d8e25974c2f78ec9c2bd05d8f2412 (diff)
Merge "Remove Qtip private key files in repos"
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/run_qtip.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker/run_qtip.sh b/docker/run_qtip.sh
index 62f97c88..a7a20501 100755
--- a/docker/run_qtip.sh
+++ b/docker/run_qtip.sh
@@ -1,4 +1,5 @@
#! /bin/bash
+
run_test_suite()
{
if [ "$TEST_CASE" == "compute" ]; then
@@ -21,8 +22,16 @@ run_test_suite()
fi
}
+rm -f ${QTIP_DIR}/config/QtipKey*
+
+echo "Generating ssh keypair"
+ssh-keygen -t rsa -N "" -f ${QTIP_DIR}/config/QtipKey -q
+
source ${QTIP_DIR}/docker/prepare_qtip_image.sh
run_test_suite
source ${QTIP_DIR}/docker/cleanup_qtip_image.sh
+
+echo "Remove ssh keypair"
+rm -f ${QTIP_DIR}/config/QtipKey*