diff --git a/README.md b/README.md index 5febca2..05287c5 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The Primary goal of this repository is to provide an easy and reproducible way t ## How It Works -Terrafrom will order the machines on AWS and SCW, after the machines are booted, Terrafrom will also execute scripts in `./files/` on the machines that perform the customization of the machines. +With Terrafrom we order the machines on AWS or Scaleway (SCW), after the machines are booted, Terrafrom will also execute customization setup scripts. ## What Is The Result diff --git a/files/docker.sh b/files/docker.sh index 8d13760..a7b4e5f 100755 --- a/files/docker.sh +++ b/files/docker.sh @@ -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