Commit f15f5455 authored by Yehoshua Talansky's avatar Yehoshua Talansky


parent 5f741380
......@@ -10,10 +10,10 @@ echo "This script is only meant for provisioning Coreos do not use for other os"
sleep 3 # Waits 3 seconds.
#add user called application
sudo useradd -p "*" -U -m application -G sudo
#add user called apps
sudo useradd -p "*" -U -m apps -G sudo
sudo -u application bash << EOF
sudo -u apps bash << EOF
#add key for gitlab runner
ssh-keygen -f ~/.ssh/id_rsa -N '' -t rsa -b 4096 -C "gitlab-runner"
......@@ -27,8 +27,8 @@ cat ~/.ssh/id_rsa
echo "now add private key above for gitlab secret jobs so it can login to core user"
#allow application user to access docker
sudo usermod -aG docker application
#allow apps user to access docker
sudo usermod -aG docker apps
#From restart docker on restart
systemctl enable docker.service
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment