83428a06bf
The new sub-command 'installer' is added to support build OSTree installer image with pungi-make-ostree. It can take an optional argument '--extra-config' to read some of configurations from a json file. The content of the json file can contains the configuration which are supported in OSTree installer phase, the difference is variant UID is not supported as a repo url in this case. A valid json file can be like the following: { "source_repo_from": "http://www.example.com/repo/workstation/os", "installpkgs": [ "fedora-productimg-workstation" ], "add_template": [ "/path/to/installer/template/lorax-configure-repo.tmpl" ], "add_template_var": [ "ostree_osname=fedora-workstation", "ostree_ref=fedora/25/x86_64/workstation" ], "add_arch_template": [ "/path/to/installer/template/lorax-embed-repo.tmpl" ], "add_arch_template_var": [ "ostree_repo=https://www.example.com/compose/ostree", "ostree_osname=fedora-workstation", "ostree_ref=fedora/25/x86_64/workstation" ] } Signed-off-by: Qixiang Wan <qwan@redhat.com> |
||
---|---|---|
.. | ||
data | ||
fixtures | ||
__init__.py | ||
helpers.py | ||
test_arch.py | ||
test_buildinstall.py | ||
test_checks.py | ||
test_compose.py | ||
test_compose.sh | ||
test_config_validate_script.py | ||
test_config.py | ||
test_createiso_phase.py | ||
test_createiso_script.py | ||
test_createrepo_wrapper.py | ||
test_createrepophase.py | ||
test_extra_files_phase.py | ||
test_imagebuildphase.py | ||
test_imagechecksumphase.py | ||
test_initphase.py | ||
test_koji_wrapper.py | ||
test_linker.py | ||
test_liveimagesphase.py | ||
test_livemediaphase.py | ||
test_lorax_wrapper.py | ||
test_media_split.py | ||
test_metadata.py | ||
test_notifier.py | ||
test_osbs_phase.py | ||
test_ostree_installer_phase.py | ||
test_ostree_phase.py | ||
test_ostree_script.py | ||
test_pathmatch.py | ||
test_paths.py | ||
test_phase_base.py | ||
test_pkgset_pkgsets.py | ||
test_pkgset_source_koji.py | ||
test_pungi.py | ||
test_scm.py | ||
test_test_phase.py | ||
test_util.py |