[virt-tools-list] [virt-manager] [PATCH v2 0/8] Integration of virt-bootstrap

Radostin Stoyanov rstoyanov1 at gmail.com
Wed Jul 5 16:51:17 UTC 2017


Hi all,

This series of patches aim to integrate virt-bootstrap with virt-manager.
The goal is to replace the current message:

"The OS directory tree must already exist. Creating an OS directory tree
is not yet supported"

with functionality which allows the user to easy bootstrap root file system
from container image.

I would like to ask for feedback/suggestions on what could be improved.

This is a short screen recording which demonstrates these changes:
https://www.youtube.com/watch?v=CDeDobeyU0I

The major changes since v1 are:
- Import the virtBootstrap module instead of spawning binary.
- Check if the user has write permission on the destinations path.
- Start the container bootstrap at the end of the create dialog.
- Show progress information from virt-bootstrap.

Regards,
Radostin

Commits (8):
  create: Add support for OS tree creation
  create: Validate input on container bootstrap
  pylint: Redefining name 'os' from outer scope
  gschema: Populate/Store previous container URLs
  create: Call virt-bootstrap asynchronously
  create: Show progress of container bootstrap
  asyncjob: Add enable/update details methods
  create: Show details of container bootstrap

 data/org.virt-manager.virt-manager.gschema.xml |   6 +
 ui/asyncjob.ui                                 |  33 +++-
 ui/create.ui                                   | 200 ++++++++++++++++++-
 virtManager/asyncjob.py                        |  15 ++
 virtManager/config.py                          |   4 +
 virtManager/create.py                          | 263 +++++++++++++++++++++++--
 6 files changed, 506 insertions(+), 15 deletions(-)

-- 
2.9.4




More information about the virt-tools-list mailing list