summaryrefslogtreecommitdiffstats
path: root/ci/deploy/deploy.sh
diff options
context:
space:
mode:
authorzhouya <zhou.ya@zte.com.cn>2017-03-10 16:26:33 +0800
committerzhouya <zhou.ya@zte.com.cn>2017-03-10 16:27:09 +0800
commitdeeec0e7c89b2a6e9853ee4fb6904b19e3ac7605 (patch)
tree1b19392937735339d08c35acbc02c7745a56527b /ci/deploy/deploy.sh
parentad7a882c71c0ed779b2111f400ac6b8bd108e4c5 (diff)
add known_hosts file in daisy vm
Change-Id: Icc58c1ad41264557ad462174188f518fbb1f5ef6 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
Diffstat (limited to 'ci/deploy/deploy.sh')
-rwxr-xr-xci/deploy/deploy.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh
index 5fcea998..efae8387 100755
--- a/ci/deploy/deploy.sh
+++ b/ci/deploy/deploy.sh
@@ -293,6 +293,10 @@ else
echo "daisy install successfully"
fi
+echo "===== generate known_hosts file in daisy vm========"
+touch $WORKSPACE/known_hosts
+scp $WORKSPACE/known_hosts root@$DAISY_IP:/root/.ssh/
+
if [ $IS_BARE == 0 ];then
echo "====== add relate config of kolla==========="
ssh $SSH_PARAS $DAISY_IP "mkdir -p /etc/kolla/config/nova"