Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 2.14 KB

File metadata and controls

54 lines (39 loc) · 2.14 KB

azldev image inject-files

Injects files into a partition based on an inject-files.yaml file

Synopsis

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]

Examples

  # Inject files into an image
  azldev image inject-files --image-file base.vhdx --image-config inject-files.yaml --output-path out/

Options

  -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)

Options inherited from parent commands

  -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

SEE ALSO