From 17ba28d966c177d6f85ce3835782a2b6f9d40ebc Mon Sep 17 00:00:00 2001 From: Ella Hathaway Date: Wed, 11 Feb 2026 23:02:45 +0000 Subject: [PATCH 1/2] Update vmr-sync images to ubuntu 2204 --- eng/pipelines/templates/jobs/vmr-synchronization.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/jobs/vmr-synchronization.yml b/eng/pipelines/templates/jobs/vmr-synchronization.yml index cbb952202f7b..bb2738990051 100644 --- a/eng/pipelines/templates/jobs/vmr-synchronization.yml +++ b/eng/pipelines/templates/jobs/vmr-synchronization.yml @@ -43,11 +43,11 @@ jobs: pool: ${{ if eq(variables['System.TeamProject'], 'public') }}: name: $(DncEngPublicBuildPool) - image: 1es-ubuntu-2004-open + image: 1es-ubuntu-2204-open os: linux ${{ else }}: name: $(DncEngInternalBuildPool) - demands: ImageOverride -equals 1es-ubuntu-2004 + demands: ImageOverride -equals 1es-ubuntu-2204 os: linux steps: From 4dfccfbf0a377fd49a5c3de868c5fbdf457e0c85 Mon Sep 17 00:00:00 2001 From: Ella Hathaway Date: Wed, 11 Feb 2026 23:47:17 +0000 Subject: [PATCH 2/2] Use _InitializeDotNetCli to get the dotnet root --- eng/vmr-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/vmr-sync.sh b/eng/vmr-sync.sh index 10d4b1f65f98..ba3dc2bb249f 100755 --- a/eng/vmr-sync.sh +++ b/eng/vmr-sync.sh @@ -239,7 +239,7 @@ set -e highlight 'Installing .NET, preparing the tooling..' source "$scriptroot/common/tools.sh" InitializeDotNetCli true -dotnetDir=$( cd $scriptroot/../.dotnet/; pwd -P ) +dotnetDir=$_InitializeDotNetCli dotnet=$dotnetDir/dotnet "$dotnet" tool restore