summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawek Kaplonski <skaplons@redhat.com>2019-01-21 22:58:19 +0100
committerSlawek Kaplonski <skaplons@redhat.com>2019-01-21 22:59:32 +0100
commitb871a010de3fac35aec387c076a8d6773814b847 (patch)
tree9738c76b552ca88b0e1c97e303dde01a7fdf954e
parent05a0ac415581ec197a06c82d45090b12400b9d92 (diff)
downloadosprofiler-b871a010de3fac35aec387c076a8d6773814b847.tar.gz
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
-rw-r--r--devstack/lib/osprofiler2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/lib/osprofiler b/devstack/lib/osprofiler
index d5b75e3..d02e456 100644
--- a/devstack/lib/osprofiler
+++ b/devstack/lib/osprofiler
@@ -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"