Commit 2ff657cc authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Revert "Fix useradd to create system users"

This reverts commit 8184bb58.
parent 2f97a752
......@@ -9,7 +9,7 @@ case "$1" in
configure)
if ! id -u "$USER" >/dev/null 2>/dev/null; then
useradd -r --comment 'GitLab Runner' --create-home $USER
useradd --comment 'GitLab Runner' --create-home $USER
fi
usermod -aG docker $USER || true
eval HOMEDIR=~$USER
......
......@@ -4,7 +4,7 @@ set -e
USER=gitlab_ci_multi_runner
if ! id -u "$USER" >/dev/null 2>/dev/null; then
useradd -r --comment 'GitLab Runner' --create-home $USER
useradd --comment 'GitLab Runner' --create-home $USER
fi
usermod -aG docker $USER || true
eval HOMEDIR=~$USER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment