From 17db6723810071b74fdc8617e0b0cbe598919317 Mon Sep 17 00:00:00 2001 From: xudan Date: Fri, 26 May 2017 02:51:25 -0400 Subject: Bugfix: Permission denied when generate openrc file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- jjb/dovetail/dovetail-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg