diff options
author | 2017-11-02 07:07:43 -0700 | |
---|---|---|
committer | 2017-11-02 07:07:43 -0700 | |
commit | a1b5833e2911fe48e9fa4a5233c7e6a480777fd6 (patch) | |
tree | 836c881abdffb6fe72d2284f786a1f843ae357aa /tools/rancher | |
parent | f12b3492df08a12b55d7e7e559de628c1df6a4dc (diff) |
Avoid server key warnings
JIRA: MODELS-23
Change-Id: Ic32cf8290c916cd3f6d740fd44733405df72c6b0
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tools/rancher')
-rw-r--r-- | tools/rancher/demo_deploy.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/rancher/demo_deploy.sh b/tools/rancher/demo_deploy.sh index 3054baf..1ee980d 100644 --- a/tools/rancher/demo_deploy.sh +++ b/tools/rancher/demo_deploy.sh @@ -49,7 +49,7 @@ scp -o StrictHostKeyChecking=no $key ubuntu@$master:/home/ubuntu/$key scp -o StrictHostKeyChecking=no ~/models/tools/rancher/rancher-cluster.sh \ ubuntu@$master:/home/ubuntu/. echo "Setting up Rancher..." -ssh -x -o StrictHostKeyChecking=no ubuntu@$master <<EOF +ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$master <<EOF exec ssh-agent bash ssh-add $key bash rancher-cluster.sh all "$workers" @@ -58,11 +58,11 @@ EOF # causes the ssh session to end before the prometheus setup, if both scripts # are in the same ssh session echo "Setting up Prometheus..." -ssh -x -o StrictHostKeyChecking=no ubuntu@$master mkdir -p \ +ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$master mkdir -p \ /home/ubuntu/models/tools/prometheus scp -r -o StrictHostKeyChecking=no ~/models/tools/prometheus/* \ ubuntu@$master:/home/ubuntu/models/tools/prometheus -ssh -x -o StrictHostKeyChecking=no ubuntu@$master <<EOF +ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$master <<EOF exec ssh-agent bash ssh-add $key cd models/tools/prometheus |