summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-05-26 02:51:25 -0400
committerxudan <xudan16@huawei.com>2017-05-26 02:51:25 -0400
commit17db6723810071b74fdc8617e0b0cbe598919317 (patch)
treeeaa3b7b75075ea469a806de2061041b901fb5585 /jjb
parent7fc59bbc6f5792990b67020ffe09914a0ff2e0d9 (diff)
Bugfix: Permission denied when generate openrc file
JIRA: DOVETAIL-438 Error log: touch: cannot touch ‘/home/opnfv/cvp/pre_config/env_config.sh’: Permission denied fetch_os_creds.error: Cannot create the file specified. Check that the path is correct and run the script again. Change-Id: I46d1edacec58226bc6b5d6a88ab7b5b6cdea17f5 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/dovetail/dovetail-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh
index 5768faf3a..f323a8ab5 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -47,7 +47,7 @@ releng_repo=${WORKSPACE}/releng
git clone https://gerrit.opnfv.org/gerrit/releng ${releng_repo} >/dev/null
if [[ ${INSTALLER_TYPE} != 'joid' ]]; then
- ${releng_repo}/utils/fetch_os_creds.sh -d ${OPENRC} -i ${INSTALLER_TYPE} -a ${INSTALLER_IP} >${redirect}
+ sudo /bin/bash ${releng_repo}/utils/fetch_os_creds.sh -d ${OPENRC} -i ${INSTALLER_TYPE} -a ${INSTALLER_IP} >${redirect}
fi
if [[ -f $OPENRC ]]; then