Change storperf target IP
[yardstick.git] / tests / ci / scp_storperf_files.sh
1 #!/bin/bash
2
3 ##############################################################################
4 # Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
11
12 # Copy storperf_admin-rc to deployment location.
13
14 ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
15 sshpass -p root scp 2>/dev/null $ssh_options ~/storperf_admin-rc \
16         root@192.168.10.6:/root/ &> /dev/null
17 sshpass -p root scp 2>/dev/null $ssh_options /home/opnfv/repos/storperf/docker-compose/docker-compose.yaml \
18         root@192.168.10.6:/root/ &> /dev/null
19 sshpass -p root scp 2>/dev/null $ssh_options /home/opnfv/repos/storperf/docker-compose/nginx.conf \
20         root@192.168.10.6:/root/ &> /dev/null