Skip to content

Commit b2a0ef3

Browse files
authored
Updating note
1 parent 9c1b981 commit b2a0ef3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,7 @@ Customize properties:
599599

600600
### File customizer
601601

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-
604-
> [!IMPORTANT]
605-
> Azure Image Builder does not support using managed identities to download data from storage accounts. Please make sure that the URL for any files that need to be downloaded is either publicly accessible or a SAS uri.
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.
606603

607604

608605
# [JSON](#tab/json)
@@ -652,7 +649,7 @@ This customizer is supported by Windows directories and Linux paths, but there a
652649
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.
653650

654651
> [!NOTE]
655-
> 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 either use a SAS URI or 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.
656653
657654
- **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.
658655

0 commit comments

Comments
 (0)