Skip to content

Commit

Permalink
user ubuntu is only on AWS, skip step on SCW
Browse files Browse the repository at this point in the history
The user ubuntu does only exist on AWS, so skip adding the user ubuntu to the docker group.
  • Loading branch information
Vad1mo committed Nov 13, 2017
1 parent 90abb64 commit 0dcc5df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ chmod +x /usr/local/bin/docker-compose

echo "...installing docker-compose done. Installed Version is $(docker-compose -v)"

echo "Granting user ubuntu Docker daemon access"
adduser ubuntu docker

[ -f /usr/local/bin/scw-metadata ] || echo "Granting user ubuntu Docker daemon access" && adduser ubuntu docker

0 comments on commit 0dcc5df

Please sign in to comment.