Skip to content

Commit 2961c4c

Browse files
authored
Merge pull request #108841 from danielsollondon/patch-20
minor updates
2 parents fd822a0 + 3074d9f commit 2961c4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/virtual-machines/linux/image-builder-json.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create an Azure Image Builder template (preview)
33
description: Learn how to create a template to use with Azure Image Builder.
44
author: danis
55
ms.author: danis
6-
ms.date: 02/20/2020
6+
ms.date: 03/24/2020
77
ms.topic: article
88
ms.service: virtual-machines-linux
99
ms.subservice: imaging
@@ -37,7 +37,7 @@ This is the basic template format:
3737
"subnetName": "<subnetName>",
3838
"resourceGroupName": "<vnetRgName>"
3939
},
40-
"build": {},
40+
"source": {},
4141
"customize": {},
4242
"distribute": {}
4343
}
@@ -332,7 +332,7 @@ The shell customizer supports running PowerShell scripts and inline command, the
332332
"type": "PowerShell",
333333
"name": "<name>",
334334
"inline": "<PowerShell syntax to run>",
335-
"valid_exit_codes": "<exit code>",
335+
"validExitCodes": "<exit code>",
336336
"runElevated": "<true or false>"
337337
}
338338
],
@@ -345,7 +345,7 @@ Customize properties:
345345
- **type** – PowerShell.
346346
- **scriptUri** - URI to the location of the PowerShell script file.
347347
- **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.
349349
- **runElevated** – Optional, boolean, support for running commands and scripts with elevated permissions.
350350
- **sha256Checksum** - Value of sha256 checksum of the file, you generate this locally, and then Image Builder will checksum and validate.
351351
* 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

Comments
 (0)