fix Ubuntu 22.04 template extension (#5591)

This commit is contained in:
Mikhail Koliada
2022-05-23 14:04:06 +02:00
committed by GitHub
parent e4d58452f4
commit 1996a78b43

View File

@@ -34,7 +34,7 @@ Function Get-PackerTemplatePath {
$relativeTemplatePath = Join-Path "linux" "ubuntu2004.json"
}
([ImageType]::Ubuntu2204) {
$relativeTemplatePath = Join-Path "linux" "ubuntu2204.json"
$relativeTemplatePath = Join-Path "linux" "ubuntu2204.pkr.hcl"
}
default { throw "Unknown type of image" }
}