Use an environment variable for stack user

in costumed environment I can use a different user this way

Change-Id: I474bad51705961b9935463971796a9eb243d737e
This commit is contained in:
Eyal 2019-02-27 17:09:09 +02:00
parent 83efcb9e52
commit 72489fd839
1 changed files with 3 additions and 1 deletions

View File

@ -13,8 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.
STACK_USER=${STACK_USER:stack}
source $BASE/new/devstack/functions
sudo chown -R $USER:stack $BASE/new/tempest
sudo chown -R $USER:$STACK_USER $BASE/new/tempest
DEVSTACK_PATH="$BASE/new"
TEMPEST_CONFIG=$BASE/new/tempest/etc/tempest.conf