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:
parent
83efcb9e52
commit
72489fd839
|
@ -13,8 +13,10 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
STACK_USER=${STACK_USER:stack}
|
||||||
|
|
||||||
source $BASE/new/devstack/functions
|
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"
|
DEVSTACK_PATH="$BASE/new"
|
||||||
TEMPEST_CONFIG=$BASE/new/tempest/etc/tempest.conf
|
TEMPEST_CONFIG=$BASE/new/tempest/etc/tempest.conf
|
||||||
|
|
Loading…
Reference in New Issue