From f2a3cad69ab1fb682e7c9e1fc167f435388612b7 Mon Sep 17 00:00:00 2001 From: Shamil Mubarakshin <127750046+shamil-mubarakshin@users.noreply.github.com> Date: Wed, 15 Nov 2023 19:58:19 +0100 Subject: [PATCH] [ubuntu] Fix template names in GenerateResourcesAndImage.ps1 (#8815) --- helpers/GenerateResourcesAndImage.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/GenerateResourcesAndImage.ps1 b/helpers/GenerateResourcesAndImage.ps1 index 4d6be9f72..808556765 100644 --- a/helpers/GenerateResourcesAndImage.ps1 +++ b/helpers/GenerateResourcesAndImage.ps1 @@ -24,10 +24,10 @@ Function Get-PackerTemplatePath { $relativeTemplatePath = Join-Path "windows" "templates" "windows-2022.json" } ([ImageType]::Ubuntu2004) { - $relativeTemplatePath = Join-Path "ubuntu" "templates" "ubuntu-2004.json" + $relativeTemplatePath = Join-Path "ubuntu" "templates" "ubuntu-20.04.json" } ([ImageType]::Ubuntu2204) { - $relativeTemplatePath = Join-Path "ubuntu" "templates" "ubuntu-2204.pkr.hcl" + $relativeTemplatePath = Join-Path "ubuntu" "templates" "ubuntu-22.04.pkr.hcl" } ([ImageType]::UbuntuMinimal) { $relativeTemplatePath = Join-Path "ubuntu" "templates" "ubuntu-minimal.pkr.hcl"