This is revised version of the last patch series. Commits (13): DockerSoure: Keep list of tar files for image Make the code get compression type reusable Create qcow2 images with python-guestfs Use libguestfs python's binding Make UID/GID mapping reusable Split the function mapping_uid_gid Do not call mapping_uid_gid() for format="qcow2" Enable UID/GID mapping for qcow2 Simplify setting permissions of shadow file Make set_root_password_in_rootfs reusable Build_QCOW2_Image: Enable setting root password Add flag --faster sources: Add support for virt-builder src/virtBootstrap/sources/__init__.py | 1 + src/virtBootstrap/sources/docker_source.py | 28 +- src/virtBootstrap/sources/file_source.py | 25 +- src/virtBootstrap/sources/virt_builder_source.py | 134 +++++++ src/virtBootstrap/utils.py | 444 +++++++++++++++++------ src/virtBootstrap/virt_bootstrap.py | 96 +---- tests/test_build_qcow2_image.py | 335 +++++++++++++++++ tests/test_docker_source.py | 41 +-- tests/test_file_source.py | 47 +-- tests/test_utils.py | 378 ++++++++++--------- tests/test_virt_bootstrap.py | 180 +-------- 11 files changed, 1086 insertions(+), 623 deletions(-) create mode 100644 src/virtBootstrap/sources/virt_builder_source.py create mode 100644 tests/test_build_qcow2_image.py -- 2.13.4 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list