Bugfix: load_image will move image file if image already exist in /home/opnfv/images
[yardstick.git] / tests / ci / scp_storperf_admin-rc.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.200.1:/root/ &> /dev/null