diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-05-16 11:07:35 +0000 |
---|---|---|
committer | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-05-16 11:11:11 +0000 |
commit | 9a59345158b8d271b31aec038f0fb032a3d5f383 (patch) | |
tree | 9d6a32c0ee806cf1cde9d016433ae8b52f287e5c /kud | |
parent | c8d038951d41978bb00005e23081e6562c0ab754 (diff) |
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 <m.ptacek@partner.samsung.com>
Diffstat (limited to 'kud')
-rwxr-xr-x | kud/hosting_providers/vagrant/installer.sh | 1 |
1 files changed, 0 insertions, 1 deletions
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 |