You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to create a template to use with Azure Image Builder.
4
4
author: danis
5
5
ms.author: danis
6
-
ms.date: 02/20/2020
6
+
ms.date: 03/24/2020
7
7
ms.topic: article
8
8
ms.service: virtual-machines-linux
9
9
ms.subservice: imaging
@@ -37,7 +37,7 @@ This is the basic template format:
37
37
"subnetName": "<subnetName>",
38
38
"resourceGroupName": "<vnetRgName>"
39
39
},
40
-
"build": {},
40
+
"source": {},
41
41
"customize": {},
42
42
"distribute": {}
43
43
}
@@ -332,7 +332,7 @@ The shell customizer supports running PowerShell scripts and inline command, the
332
332
"type": "PowerShell",
333
333
"name": "<name>",
334
334
"inline": "<PowerShell syntax to run>",
335
-
"valid_exit_codes": "<exit code>",
335
+
"validExitCodes": "<exit code>",
336
336
"runElevated": "<true or false>"
337
337
}
338
338
],
@@ -345,7 +345,7 @@ Customize properties:
345
345
- **type** – PowerShell.
346
346
- **scriptUri** - URI to the location of the PowerShell script file.
347
347
- **inline** – Inline commands to be run, separated by commas.
348
-
- **valid_exit_codes** – Optional, valid codes that can be returned from the script/inline command, this will avoid reported failure of the script/inline command.
348
+
- **validExitCodes** – Optional, valid codes that can be returned from the script/inline command, this will avoid reported failure of the script/inline command.
349
349
- **runElevated** – Optional, boolean, support for running commands and scripts with elevated permissions.
350
350
- **sha256Checksum** - Value of sha256 checksum of the file, you generate this locally, and then Image Builder will checksum and validate.
351
351
* To generate the sha256Checksum, using a PowerShell on Windows [Get-Hash](https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-6)
0 commit comments