Fix multibackend-matrix confs
The command to edit tempest.conf should be run as the same user that owns that file. This is causing the scripts to run always with the same backends[1]. [1] http://bit.ly/2juDims Change-Id: Ie865042c052746b5001f6132c159bc32165021a3
This commit is contained in:
parent
91229faf59
commit
183dca0f91
@ -33,10 +33,7 @@ function configure_tempest_backends {
|
||||
be1=$1
|
||||
be2=$2
|
||||
echo "Configuring tempest conf in ${TEMPEST_CONFIG}"
|
||||
# TODO(erlon): Call iniset using sudo
|
||||
#sudo -HE -u ${TEMPEST_USER} iniset $TEMPEST_CONFIG 'volume' \
|
||||
#'backend_names' ${be1},${be2}
|
||||
iniset $TEMPEST_CONFIG 'volume' 'backend_names' ${be1},${be2}
|
||||
iniset -sudo $TEMPEST_CONFIG 'volume' 'backend_names' ${be1},${be2}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user