aboutsummaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-01-09 10:41:42 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-01-09 10:41:42 +0100
commit01f55d2fd3ea0e9620bb631dd91e475444393099 (patch)
tree8ba7d5048778d8335c4444584d68ca96e352266a /lava-master/Dockerfile
parentc856c35e30f4465f8d14834d672a0dcbf06567fb (diff)
Permit to create staff/superuser users
This patch add two user options staff and superuser. This will permit to create users with thoses flag in LAVA. In the process remove the hardcoded admin user from Dockerfile and move it in tokens.yaml
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r--lava-master/Dockerfile5
1 files changed, 0 insertions, 5 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index be8a3b7..1e396d4 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -45,11 +45,6 @@ RUN service postgresql start \
&& a2ensite lava-server \
&& /stop.sh
-# Create a admin user (Insecure note, this creates a default user, username: admin/admin)
-RUN /start.sh \
- && lava-server manage users add --passwd admin --staff --superuser --email admin@example.com admin \
- && /stop.sh
-
# Install latest
#RUN /start.sh \
# && git clone https://github.com/kernelci/lava-dispatcher.git -b master /root/lava-dispatcher \