From 2463728a1e94bc080b5007e2d40664dad7f9b31a Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Fri, 7 Feb 2020 10:50:20 +0300 Subject: [PATCH] disable telemetry --- images/linux/scripts/installers/1804/dotnetcore-sdk.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/images/linux/scripts/installers/1804/dotnetcore-sdk.sh b/images/linux/scripts/installers/1804/dotnetcore-sdk.sh index e772d924..3b80d2cb 100644 --- a/images/linux/scripts/installers/1804/dotnetcore-sdk.sh +++ b/images/linux/scripts/installers/1804/dotnetcore-sdk.sh @@ -30,6 +30,9 @@ mksamples() set -e +# Disable telemetry +export DOTNET_CLI_TELEMETRY_OPTOUT=1 + for latest_package in ${LATEST_DOTNET_PACKAGES[@]}; do echo "Determing if .NET Core ($latest_package) is installed" if ! IsInstalled $latest_package; then