[virt-tools-list] [virt-bootstrap] [PATCH v5 00/13] Add support for virt-builder

Radostin Stoyanov rstoyanov1 at gmail.com
Fri Aug 4 14:30:36 UTC 2017


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




More information about the virt-tools-list mailing list