aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-05-14 08:10:00 -0700
committerGary Wu <gary.i.wu@huawei.com>2019-05-14 08:10:00 -0700
commit8ca85385e306747c3a0347bc22d2aaed714d57c2 (patch)
tree122a9167565c7b131992b98d7f50abe19fd7a23e
parent56541bfd14b1b268fab839778f1f70c000cbec73 (diff)
Specify ssh key when copying kubeconfig file
Change-Id: Icb5b0abef6723c14812771ddb9ad3c2a0ab96518 Issue-ID: INT-1075 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rwxr-xr-xdeployment/heat/onap-rke/scripts/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/heat/onap-rke/scripts/deploy.sh b/deployment/heat/onap-rke/scripts/deploy.sh
index 7e8bdf76f..e4e7d18df 100755
--- a/deployment/heat/onap-rke/scripts/deploy.sh
+++ b/deployment/heat/onap-rke/scripts/deploy.sh
@@ -266,7 +266,7 @@ until ./rke up; do
./rke remove
done
-scp ./kube_config_cluster.yml root@$RANCHER_IP:/root/.kube/config
+scp -i $SSH_KEY ./kube_config_cluster.yml root@$RANCHER_IP:/root/.kube/config
popd