summaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-10-24 07:42:47 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-10-24 07:42:48 +0000
commit951186fee0c3a83fe380cc7545edcbdc6872e509 (patch)
tree2085d756fe33b66b3f775c9034edbe3368c0464d /deploy/compass_vm.sh
parent91f52bf10c37935c3a1299eb5abf0ea50ab0d231 (diff)
parent78b926e43ab0d523205b223ed17ef1c3560e9607 (diff)
Merge "bug fix: support impi 2.0 and delete compass core default ip and gw when baremetal deploy"
Diffstat (limited to 'deploy/compass_vm.sh')
-rw-r--r--deploy/compass_vm.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh
index 9e192281..5c1a526d 100644
--- a/deploy/compass_vm.sh
+++ b/deploy/compass_vm.sh
@@ -30,6 +30,7 @@ function install_compass_core() {
function wait_ok() {
set +x
log_info "wait_compass_ok enter"
+ ssh-keygen -f "/root/.ssh/known_hosts" -R $MGMT_IP >/dev/null 2>&1
retry=0
until timeout 1s ssh $ssh_args root@$MGMT_IP "exit" >/dev/null 2>&1
do