This patch is to fix the bottlenecks rc file.
shown the problem:
touch: cannot touch '/tmp/admin_rc.sh': Permission denied
releng have chown code.
We will delete this file if have problem in fetch_os script
Change-Id: I9f53f9243697c3faca2b4d09a5847253a70f9686
Signed-off-by: liyin <liyin11@huawei.com>
if [[ $SUITE_NAME == *posca* ]]; then
POSCA_SCRIPT=/home/opnfv/bottlenecks/testsuites/posca
+ sudo rm -f ${OPENRC}
# Preparing OpenStack RC and Cacert files
echo "BOTTLENECKS INFO: fetching os credentials from $INSTALLER_TYPE"