Use $STACK_USER variable in install_jaeger function

There was hardcoded "stack" user used in install_jaeger
function in devstack plugin.
Now it will use Devstack's variable $STACK_USER.

Change-Id: I15e783786440e6516dbbf01d7aa61c3854d29662
This commit is contained in:
Slawek Kaplonski 2019-01-21 22:58:19 +01:00
parent 05a0ac4155
commit b871a010de
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function install_jaeger() {
if is_ubuntu; then
install_package docker.io
start_service docker
add_user_to_group stack docker
add_user_to_group $STACK_USER docker
sg docker -c "docker run -d --name jaeger -p 6831:6831/udp -p 16686:16686 jaegertracing/all-in-one:1.7"
else
exit_distro_not_supported "docker.io installation"