This patch series aims to: - Make virt-sandbox optional dependency by adding --use-sandbox flag. When this flag is used the extraction of root file system will be done inside a VM or LXC container created with virt-sandbox. If this flag is not used the tar command will be executed on the host. - Add support for conversion of VM images build with virt-builder to container root file system. Example: Build Fedora 26 VM image and extract the root file system in /tmp/foo. virt-bootstrap virt-builder://fedora-26 /tmp/foo Build Fedora 25 image, and extract the root file system in single partition qcow2 image /foo/bar/fedora-25.qcow2. virt-bootstrap -f qcow2 virt-builder://fedora-25 /foo/bar Radostin Stoyanov (9): sources: Set default format with a constant sources: Use default values of arguments tests: Remove redundant arguments Add flag --use-sandbox tests: Apply unit tests for --use-sandbox sources: Add support for virt-builder tests: Add unit tests for VirtBuilderSource root-password: Handle different sources tests: Match changes when setting root_password src/virtBootstrap/sources.py | 140 +++++++++++++++++++++++++-- src/virtBootstrap/utils.py | 51 ++++++++-- src/virtBootstrap/virt_bootstrap.py | 23 +++-- tests/test_docker_source.py | 187 ++++++++++++++++++++++-------------- tests/test_file_source.py | 64 +++++++++++- tests/test_utils.py | 103 ++++++++++++++++---- tests/test_virt_bootstrap.py | 22 ----- tests/test_virtbuilder_source.py | 162 +++++++++++++++++++++++++++++++ 8 files changed, 606 insertions(+), 146 deletions(-) create mode 100644 tests/test_virtbuilder_source.py -- 2.9.4 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list