Injects files into a partition based on an inject-files.yaml file
Inject files into a disk image partition.
Uses Azure Linux Image Customizer to inject files into an existing disk image based on an inject-files.yaml configuration file.
azldev image inject-files [flags]
# Inject files into an image
azldev image inject-files --image-file base.vhdx --image-config inject-files.yaml --output-path out/
-h, --help help for inject-files
--image-config string Path of the image customization config file
--image-file string Path of the base Azure Linux image which the customization will be applied to
--output-image-format string Format of output image (vhd, vhd-fixed, vhdx, qcow2, raw, iso, pxe-dir, pxe-tar, cosi)
--output-path string Path to write the customized image artifacts to. It can be a path to a file if the output format is a single file format (e.g., vhd, qcow2), or a path to a directory if the output format is a multi-file format (e.g., pxe-dir, pxe-tar)
-y, --accept-all accept all prompts
--color mode output colorization mode {always, auto, never} (default auto)
--config-file stringArray additional TOML config file(s) to merge (may be repeated)
-n, --dry-run dry run only (do not take action)
--network-retries int maximum number of attempts for network operations (minimum 1) (default 3)
--no-default-config disable default configuration
-O, --output-format fmt output format {csv, json, markdown, table} (default table)
--permissive-config do not fail on unknown fields in TOML config files
-C, --project string path to Azure Linux project
-q, --quiet only enable minimal output
-v, --verbose enable verbose output
- azldev image - Manage Azure Linux images