bug-fix: fix timeout sshing to get k8s config 74/67074/1
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Thu, 21 Feb 2019 12:17:14 +0000 (20:17 +0800)
committerYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Thu, 21 Feb 2019 12:17:14 +0000 (20:17 +0800)
JIRA: BOTTLENECK-251

Change-Id: Ia04d335f39471522078fbc7352be308c49eecd14
Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
utils/k8s_setup/k8s_config_pre.sh

index 38e71d2..f57add7 100644 (file)
@@ -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