aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-10-21 09:26:40 +0800
committerbaigk <baiguoku@huawei.com>2015-10-21 09:26:40 +0800
commit78b926e43ab0d523205b223ed17ef1c3560e9607 (patch)
tree9fe41b7a86871b43de173cdd97a1c3a870a600ac /deploy/compass_vm.sh
parent9037b62da8598f9cb73c9203c3a01d8afbfd6173 (diff)
bug fix: support impi 2.0 and delete compass core default ip and gw when baremetal deploy
JIRA: COMPASS-107 Change-Id: Id1654a3551029be18e1884a488291eb3fa46d1ca Signed-off-by: baigk <baiguoku@huawei.com>
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