Uploading images¶
Call the image upload manager:
manager = ImageUploadManager(['path/to/config.yaml'])
manager.upload()
-
class
tripleo_common.image.image_uploader.
ImageUploadManager
(config_files=None, cleanup='full', mirrors=None, registry_credentials=None, multi_arch=False, lock=None)¶ Manage the uploading of image files
Manage the uploading of images from a config file specified in YAML syntax. Multiple config files can be specified. They will be merged.
-
upload
()¶ Start the upload process
-
Multiple config files¶
Multiple config files can be passed to the ImageUploadManager. Attributes are set by the first encountered with the ‘imagename’ attribute being the primary key.