summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/lib.sh
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-04 15:54:11 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-07-05 17:06:35 +0400
commitde6a685915bc8bd5444217bca511da35c94b4d59 (patch)
tree1d861f14ef74e24cd9bdae67d59abaf6a91b194c /mcp/scripts/lib.sh
parente49e91d7aa740437c01e6531ef648d2dae97c11d (diff)
Turn on opendaylight scenario
* fix formula & reclass cluster model * bring in running states Change-Id: I8e66e69045f5c745f9aa6f59f7ce6d66b5bf1c95 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/scripts/lib.sh')
-rw-r--r--mcp/scripts/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 50f441a78..bf8e3c100 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -95,7 +95,7 @@ check_connection() {
# wait until ssh on Salt master is available
while (($attempt <= $total_attempts)); do
- ssh -i ${SSH_KEY} ubuntu@${SALT_MASTER} uptime
+ ssh -i ${SSH_OPTS} ubuntu@${SALT_MASTER} uptime
case $? in
0) echo "${attempt}> Success"; break ;;
*) echo "${attempt}/${total_attempts}> ssh server ain't ready yet, waiting for ${sleep_time} seconds ..." ;;