tripleo-common/doc/source/image/build.rst
Brad P. Crochet 981c084014 Build image files from definitions in yaml
This change introduces a new way of defining image files. Using yaml,
the image file definitions can now be externalized, making updates to
the images being built easier. This will also allow for easier
customization of the images without having to change the actual code.

Change-Id: I321fa12f6a85c6a71cbd6e4e5ed9db3bfa4cb1c7
2016-03-18 11:43:32 -04:00

543 B

Building images

Call the image build manager:

manager = ImageBuildManager(['path/to/config.yaml'])
manager.build()

tripleo_common.image.build.ImageBuildManager

Multiple config files

Multiple config files can be passed to the ImageBuildManager. Certain attributes will be merged (currently, 'elements', 'options', and 'packages'), while other attributes will only be set by the first encountered. The 'imagename' attribute will be the primary key.