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>
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
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 "--------------------------------------------------------"