aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2015-11-16 15:43:26 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-16 15:43:26 +0000
commitc3eb0aa24e4c4697f446f69b86a9cb159734e5f2 (patch)
tree1cb47bdd2f5b7788092213a08ac7319a99df2898 /deploy/compass_vm.sh
parenta8aa85f2a26256938b0057802ac5521edb594791 (diff)
parentcb5ae68b968f28c1cedee3720ff14cf5fa1ab92c (diff)
Merge "suport installing openstack kilo on centos 7"
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 3ba20266..958bf33b 100644
--- a/deploy/compass_vm.sh
+++ b/deploy/compass_vm.sh
@@ -38,6 +38,7 @@ function wait_ok() {
sleep 1
let retry+=1
if [[ $retry -ge $1 ]];then
+ timeout 1s ssh $ssh_args root@$MGMT_IP "exit"
log_error "os install time out"
exit 1
fi