[Ubuntu] Update the Packer version output (#8994)

* Update Software Report to support azcopy output

* [Ubuntu] Update the Packer version output

---------

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
Alexey-Ayupov
2023-12-11 22:25:06 +01:00
committed by GitHub
parent 7fe65a2204
commit 63f2cea173

View File

@@ -177,7 +177,7 @@ function Get-NvmVersion {
}
function Get-PackerVersion {
$packerVersion = packer --version
$packerVersion = (packer --version | Select-String "^Packer").Line.Replace('v','') | Get-StringPart -Part 1
return $packerVersion
}