From 705e8d9a2f1c13bc82fe8fea3bc5452414fdd56e Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Tue, 17 Oct 2017 17:29:44 -0700 Subject: Fix deploy to avoid need to clone on admin/master node JIRA: MODELS-23 Change-Id: Ic0efddbaab960d26920e2c4c2e4d94b773a3d016 Signed-off-by: Bryan Sullivan --- tools/rancher/demo_deploy.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'tools/rancher') diff --git a/tools/rancher/demo_deploy.sh b/tools/rancher/demo_deploy.sh index 7daa80e..bdf60ab 100644 --- a/tools/rancher/demo_deploy.sh +++ b/tools/rancher/demo_deploy.sh @@ -46,20 +46,27 @@ eval `ssh-agent` ssh-add $key if [[ "x$extras" != "x" ]]; then source $extras; fi scp -o StrictHostKeyChecking=no $key ubuntu@$admin_ip:/home/ubuntu/$key +scp -o StrictHostKeyChecking=no ~/models/tools/rancher/rancher-cluster.sh \ + ubuntu@$admin_ip:/home/ubuntu/. echo "Setting up Rancher..." ssh -x -o StrictHostKeyChecking=no ubuntu@$admin_ip <