summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2019-02-21 20:17:14 +0800
committerYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2019-02-21 12:29:33 +0000
commit761fa72d9626b074a05088d8f89065d7d16bffbb (patch)
tree835b7219c07ac71c8fc1d77e1cf55644c0120b6f
parentdf0f60c3ef008bf555eb780f020475c79b627ab8 (diff)
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> (cherry picked from commit 60188677ec3edd352ca1ff543c785d4e848122b5)
-rw-r--r--utils/k8s_setup/k8s_config_pre.sh2
1 files changed, 1 insertions, 1 deletions
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