Add additional agent info (#499)

* add agent additional info

* add agent additional info

* add agent additional info
This commit is contained in:
Aleksandr Chebotov
2020-03-08 17:41:55 +03:00
committed by GitHub
parent 531fe345a2
commit 42417eb98f
6 changed files with 109 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
"root_folder": "C:",
"image_folder": "C:\\image",
"commit_file": "C:\\image\\commit.txt",
"imagedata_file": "C:\\imagedata.json",
"metadata_file": "C:\\image\\metadata.txt",
"helper_script_folder": "C:\\Program Files\\WindowsPowerShell\\Modules\\",
"commit_id": "LATEST",
@@ -120,6 +121,16 @@
"setx ImageOS {{user `image_os` }} /m"
]
},
{
"type": "powershell",
"environment_vars": [
"IMAGE_VERSION={{user `image_version`}}",
"IMAGEDATA_FILE={{user `imagedata_file`}}"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Update-ImageData.ps1"
]
},
{
"type": "powershell",
"scripts":[