From 60188677ec3edd352ca1ff543c785d4e848122b5 Mon Sep 17 00:00:00 2001
From: "Yang (Gabriel) Yu" <Gabriel.yuyang@huawei.com>
Date: Thu, 21 Feb 2019 20:17:14 +0800
Subject: bug-fix: fix timeout sshing to get k8s config

JIRA: BOTTLENECK-251

Change-Id: Ia04d335f39471522078fbc7352be308c49eecd14
Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
---
 utils/k8s_setup/k8s_config_pre.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/k8s_setup/k8s_config_pre.sh b/utils/k8s_setup/k8s_config_pre.sh
index 38e71d23..f57add78 100644
--- a/utils/k8s_setup/k8s_config_pre.sh
+++ b/utils/k8s_setup/k8s_config_pre.sh
@@ -60,7 +60,7 @@ while [[ $# > 0 ]]
 done
 
 if [[ ${INSTALLER_TYPE} == 'compass' ]]; then
-    sshpass -p root scp -o StrictHostKeyChecking=no root@192.16.1.222:~/.kube/config ${K8S_CONFIG}
+    sshpass -p root scp -o StrictHostKeyChecking=no root@10.1.0.50:~/.kube/config ${K8S_CONFIG}
 else
     echo "BOTTLENECKS EROOR: unrecognized installer"
 fi
-- 
cgit