[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:
co-authored by
Alexey Ayupov
parent
7fe65a2204
commit
63f2cea173
@@ -177,7 +177,7 @@ function Get-NvmVersion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Get-PackerVersion {
|
function Get-PackerVersion {
|
||||||
$packerVersion = packer --version
|
$packerVersion = (packer --version | Select-String "^Packer").Line.Replace('v','') | Get-StringPart -Part 1
|
||||||
return $packerVersion
|
return $packerVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user