981c084014
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
543 B
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.