[virt-tools-list] [virt-bootstrap] [PATCH v2 00/14] Add support for virt-builder
Radostin Stoyanov
rstoyanov1 at gmail.com
Tue Aug 1 11:28:41 UTC 2017
This patch series aim to add support for virt-builder and optimize the
creation of qcow2 images by using guestfs-python.
I will send the updates for the test suite in separate patch series.
Radostin Stoyanov (14):
setup: Use explicit import
setup: Use find_packages()
Split 'sources' module into files
Use python-guestfs
Make UID/GID mapping reusable
Split the function mapping_uid_gid
Enable UID/GID mapping for qcow2
Simplify setting permissins of shadow file
Make set_root_password_in_rootfs reusable
Optimize setting of root password in qcow2 image
sources: Use default values of arguments
tests: Remove redundant arguments
Add flag --faster
sources: Add support for virt-builder
MANIFEST.in | 3 +-
setup.py | 24 +-
src/virtBootstrap/sources/__init__.py | 27 ++
.../{sources.py => sources/docker_source.py} | 81 ++--
src/virtBootstrap/sources/file_source.py | 79 ++++
src/virtBootstrap/sources/virt_builder_source.py | 134 +++++++
src/virtBootstrap/utils.py | 430 ++++++++++++++++-----
src/virtBootstrap/virt_bootstrap.py | 100 +----
tests/test_docker_source.py | 53 +--
9 files changed, 651 insertions(+), 280 deletions(-)
create mode 100644 src/virtBootstrap/sources/__init__.py
rename src/virtBootstrap/{sources.py => sources/docker_source.py} (82%)
create mode 100644 src/virtBootstrap/sources/file_source.py
create mode 100644 src/virtBootstrap/sources/virt_builder_source.py
--
2.13.3
More information about the virt-tools-list
mailing list