[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 <“[email protected]”>
This commit is contained in:
Alexey-Ayupov
2023-12-11 22:25:06 +01:00
committed by GitHub
co-authored by Alexey Ayupov
parent 7fe65a2204
commit 63f2cea173
@@ -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
}