diff options
author | Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> | 2018-09-16 07:43:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-16 07:43:46 +0000 |
commit | cc1b900df59b0da1cbeead132b1260787c3998d4 (patch) | |
tree | cbc780cb1a353ffc502c6e3f5d490f51f20d91ce | |
parent | bd6b34bd9ed2d7feaa6fd74051b14a9d8ecf446a (diff) | |
parent | d06192b9ff24020cc20f903d939714e2a09a86c2 (diff) |
Merge "bug-fix: get k8s config"
-rw-r--r-- | utils/k8s_setup/k8s_config_pre.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/k8s_setup/k8s_config_pre.sh b/utils/k8s_setup/k8s_config_pre.sh index 05c3f1c3..96f714bf 100644 --- a/utils/k8s_setup/k8s_config_pre.sh +++ b/utils/k8s_setup/k8s_config_pre.sh @@ -59,8 +59,8 @@ while [[ $# > 0 ]] shift done -if [[ ${INSTALLER_TYPE} == 'compass' ]]; then - sshpass -p root scp root@192.16.1.222:~/.kube/config ${K8S_CONFIG} +if [[ ${INSTALLER_TYPE} == 'compass' ]]; then + sshpass -p root scp -o StrictHostKeyChecking=no root@192.16.1.222:~/.kube/config ${K8S_CONFIG} else echo "BOTTLENECKS EROOR: unrecognized installer" fi |