From ea645ec9afe0b8a96a15bc1f6f1fbdf2addcc3b3 Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Thu, 28 May 2020 10:15:39 -0500 Subject: [PATCH] Skip first time welcome message in .NET Core Since .NET Core 3.1.300, there is a new environment variable named `DOTNET_NOLOGO` that specifies whether .NET Core welcome and telemetry messages are displayed on first run. https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet --- images/linux/scripts/installers/dotnetcore-sdk.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/images/linux/scripts/installers/dotnetcore-sdk.sh b/images/linux/scripts/installers/dotnetcore-sdk.sh index 06323d0ef..ec0f0dc3b 100644 --- a/images/linux/scripts/installers/dotnetcore-sdk.sh +++ b/images/linux/scripts/installers/dotnetcore-sdk.sh @@ -99,5 +99,6 @@ done # NuGetFallbackFolder at /usr/share/dotnet/sdk/NuGetFallbackFolder is warmed up by smoke test # Additional FTE will just copy to ~/.dotnet/NuGet which provides no benefit on a fungible machine setEtcEnvironmentVariable DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1 +setEtcEnvironmentVariable DOTNET_NOLOGO 1 prependEtcEnvironmentPath /home/runner/.dotnet/tools echo 'export PATH="$PATH:$HOME/.dotnet/tools"' | tee -a /etc/skel/.bashrc