From ffe5f37a64d72e23bb3398a4b9daa9a820e34841 Mon Sep 17 00:00:00 2001 From: Mart124 <37041094+Mart124@users.noreply.github.com> Date: Thu, 24 May 2018 21:36:46 +0200 Subject: [PATCH] Workaround to disable mssql telemetry (#293) --- util/MsSql/entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/util/MsSql/entrypoint.sh b/util/MsSql/entrypoint.sh index c54e8637ba..8990680231 100644 --- a/util/MsSql/entrypoint.sh +++ b/util/MsSql/entrypoint.sh @@ -66,4 +66,9 @@ chown $USERNAME:$GROUPNAME /backup-db.sql env >> /etc/environment cron +# Workaround to disable mssql telemetry + +echo "127.0.0.1 settings-win.data.microsoft.com" >> /etc/hosts +echo "127.0.0.1 vortex.data.microsoft.com" >> /etc/hosts + gosu $USERNAME:$GROUPNAME /opt/mssql/bin/sqlservr