From 9a59345158b8d271b31aec038f0fb032a3d5f383 Mon Sep 17 00:00:00 2001 From: Michal Ptacek Date: Thu, 16 May 2019 11:07:35 +0000 Subject: Preventing installer.sh execution to hang This newgrp command used is not suitable for shell scripting, it looks like misuse as it created new shell under right group but prevents further script execution as it has to be exited first. Change-Id: I974da3a4b8d1e0827c846150079d453789d89554 Issue-ID: MULTICLOUD-632 Signed-off-by: Michal Ptacek --- kud/hosting_providers/vagrant/installer.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh index c17f89e8..2e7a3db1 100755 --- a/kud/hosting_providers/vagrant/installer.sh +++ b/kud/hosting_providers/vagrant/installer.sh @@ -78,7 +78,6 @@ function _install_docker { echo "DOCKER_OPTS=\"-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --max-concurrent-downloads $max_concurrent_downloads \"" | sudo tee --append /etc/default/docker if [[ -z $(groups | grep docker) ]]; then sudo usermod -aG docker $USER - newgrp docker fi sudo systemctl restart docker -- cgit 1.2.3-korg