Improve documentation (#1321)

* Improve documentation

* Move documentation to CreateImageAndAzureResources.md

Co-authored-by: Alejandro Pauly <alepauly@github.com>
This commit is contained in:
Maksim Petrov
2020-08-04 20:32:35 +03:00
committed by GitHub
parent 632722fedf
commit bedcc8513e
3 changed files with 123 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ enum ImageType {
Windows2019 = 1
Ubuntu1604 = 2
Ubuntu1804 = 3
Ubuntu2004 = 4
}
Function Get-PackerTemplatePath {
@@ -30,6 +31,9 @@ Function Get-PackerTemplatePath {
([ImageType]::Ubuntu1804) {
$relativePath = "\images\linux\ubuntu1804.json"
}
([ImageType]::Ubuntu2004) {
$relativePath = "\images\linux\ubuntu2004.json"
}
}
return $RepositoryRoot + $relativePath;