summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2015-07-23 10:47:18 -0400
committerTim Rozet <trozet@redhat.com>2015-07-23 10:47:18 -0400
commit3480a1de62b0da25aec1a12ebd02bfac302a2b4b (patch)
treec5d8674cce0d259727a7bb506cc96620c0938d25 /jjb
parent4d67efb86d6ee2d75ac1325d87a8b201f9ef5562 (diff)
Fixes permissions issue with lab-reconfig
Issue where jenkins-ci is unable to remove venv dir due to venv created with sudo. Removing sudo from commands. JIRA: OCTO-109 Change-Id: I6cc0232f0ba22caebb005072eab5c2152ab84401 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/genesis/genesis-foreman.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/genesis/genesis-foreman.yml b/jjb/genesis/genesis-foreman.yml
index ae359c9cf..dc22ab24b 100644
--- a/jjb/genesis/genesis-foreman.yml
+++ b/jjb/genesis/genesis-foreman.yml
@@ -327,7 +327,7 @@
echo
# create venv
- sudo $WORKSPACE/releng/utils/lab-reconfiguration/create_venv.sh
+ $WORKSPACE/releng/utils/lab-reconfiguration/create_venv.sh
# disable nounset because 'activate' script contains unbound variable(s)
set +o nounset
@@ -335,7 +335,7 @@
source $WORKSPACE/releng/utils/lab-reconfiguration/venv/bin/activate
# set nounset back again
set -o nounset
- sudo python $WORKSPACE/releng/utils/lab-reconfiguration/reconfigUcsNet.py -i $ucs_host -u $ucs_user -p $ucs_password -f $WORKSPACE/releng/utils/lab-reconfiguration/foreman.yaml
+ python $WORKSPACE/releng/utils/lab-reconfiguration/reconfigUcsNet.py -i $ucs_host -u $ucs_user -p $ucs_password -f $WORKSPACE/releng/utils/lab-reconfiguration/foreman.yaml
echo
echo "--------------------------------------------------------"