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]
@@ -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}
}
