4e1e155638
It's highly likely that folks may want to use YAML anchors to build up list of DIB elements. To aid in that, allow the value to be a list of lists and automatically flatton it. Change-Id: I55b9cb16951b51da32f99ca5858b75217951b279 |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
README.rst |
Role for building images using diskimage-builder.
Diskimage-builder and diskimage elements can be configured by passing
corresponding settings as environment variables to this role, or using
the build_diskimage_environment
variable.
By default the build-disk-image command does not print its output to stdout, but only to a log file in the configured log directory. To additionally log to stdout, set DIB_QUIET: 0 in build_diskimage_environment.
Example:
roles:
- name: build-diskimage
environment:
ELEMENTS_PATH: /tmp/elements
DIB_PYPI_MIRROR_URL: https://example.com
Role variables
Name of the image to build.