Skip to content

Commit ff349bc

Browse files
Merge pull request #214749 from kof-f/patch-57
Adding Qatar and file customizer update
2 parents 1be98cb + 696ead6 commit ff349bc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

articles/virtual-machines/image-builder-overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ The VM Image Builder service is available in the following regions:
9494
- East Asia
9595
- Korea Central
9696
- South Africa North
97+
- Qatar Central
9798
- USGov Arizona (public preview)
9899
- USGov Virginia (public preview)
99100

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ The location is the region where the custom image will be created. The following
146146
- East Asia
147147
- Korea Central
148148
- South Africa North
149+
- Qatar Central
149150
- USGov Arizona (Public Preview)
150151
- USGov Virginia (Public Preview)
151152

@@ -598,7 +599,8 @@ Customize properties:
598599

599600
### File customizer
600601

601-
The `File` customizer lets Image Builder download a file from a GitHub repo or Azure storage. The customizer supports both Linux and Windows. If you have an image build pipeline that relies on build artifacts, you can set the file customizer to download from the build share, and move the artifacts into the image.
602+
The `File` customizer lets Image Builder download a file from a GitHub repo or Azure storage. The customizer supports both Linux and Windows. If you have an image build pipeline that relies on build artifacts, you can set the file customizer to download from the build share, and move the artifacts into the image.
603+
602604

603605
# [JSON](#tab/json)
604606

@@ -635,7 +637,7 @@ File customizer properties:
635637
- **sourceUri** - an accessible storage endpoint, this endpoint can be GitHub or Azure storage. You can only download one file, not an entire directory. If you need to download a directory, use a compressed file, then uncompress it using the Shell or PowerShell customizers.
636638

637639
> [!NOTE]
638-
> If the sourceUri is an Azure Storage Account, irrespective if the blob is marked public, you'll to grant the Managed User Identity permissions to read access on the blob. See this [example](./image-builder-user-assigned-identity.md#create-a-resource-group) to set the storage permissions.
640+
> If the sourceUri is an Azure Storage Account, irrespective if the blob is marked public, you'll need to grant the Managed User Identity permissions to read access on the blob. See this [example](./image-builder-user-assigned-identity.md#create-a-resource-group) to set the storage permissions.
639641
640642
- **destination** – the full destination path and file name. Any referenced path and subdirectories must exist, use the Shell or PowerShell customizers to set up these paths up beforehand. You can use the script customizers to create the path.
641643

@@ -647,7 +649,7 @@ This customizer is supported by Windows directories and Linux paths, but there a
647649
If there's an error trying to download the file, or put it in a specified directory, then customize step will fail, and this error will be in the customization.log.
648650

649651
> [!NOTE]
650-
> The file customizer is only suitable for small file downloads, < 20MB. For larger file downloads, use a script or inline command, then use code to download files, such as, Linux `wget` or `curl`, Windows, `Invoke-WebRequest`.
652+
> The file customizer is only suitable for small file downloads, < 20MB. For larger file downloads, use a script or inline command, then use code to download files, such as, Linux `wget` or `curl`, Windows, `Invoke-WebRequest`. For files that are in Azure storage, ensure that you assign an identity with permissions to view that file to the build VM by following the documentation here: [User Assigned Identity for the Image Builder Build VM](https://learn.microsoft.com/azure/virtual-machines/linux/image-builder-json?tabs=json%2Cazure-powershell#user-assigned-identity-for-the-image-builder-build-vm). Any file that is not stored in Azure must be publicly accessible for Azure Image Builder to be able to download it.
651653
652654
- **sha256Checksum** - generate the SHA256 checksum of the file locally, update the checksum value to lowercase, and Image Builder will validate the checksum during the deployment of the image template.
653655

0 commit comments

Comments
 (0)