diff --git a/setup/docker/cloud/digitalocean.json b/setup/docker/cloud/digitalocean.json index 11c7ed1cc..f7555b153 100644 --- a/setup/docker/cloud/digitalocean.json +++ b/setup/docker/cloud/digitalocean.json @@ -34,6 +34,7 @@ "type": "shell", "environment_vars": [ "DEBIAN_FRONTEND=noninteractive", + "UA_LOG_LEVEL=info", "LC_ALL=C", "LANG=en_US.UTF-8", "LC_CTYPE=en_US.UTF-8" diff --git a/setup/docker/cloud/digitalocean/cleanup.sh b/setup/docker/cloud/digitalocean/cleanup.sh index 7ebc0e9ed..343091dc8 100755 --- a/setup/docker/cloud/digitalocean/cleanup.sh +++ b/setup/docker/cloud/digitalocean/cleanup.sh @@ -14,6 +14,9 @@ if [[ ! -d /tmp ]]; then fi chmod 1777 /tmp +# Remove DigitalOcean Agent +apt-get -y purge droplet-agent + if [ -n "$(command -v yum)" ]; then yum update -y yum clean all diff --git a/setup/docker/cloud/setup.sh b/setup/docker/cloud/setup.sh index 5ceb564a7..23defafce 100755 --- a/setup/docker/cloud/setup.sh +++ b/setup/docker/cloud/setup.sh @@ -14,6 +14,7 @@ set -eu # disable user interactions export DEBIAN_FRONTEND="noninteractive" +export UA_LOG_LEVEL="info" export TMPDIR="/tmp" # add 4 GB of swap if no swap was configured yet