[virt-tools-list] [PATCH 0/2] virtinst: Use isoinfo to extract files from ISOs

Andrew Wong andrew.kw.w at gmail.com
Wed Nov 8 06:23:27 UTC 2017


Instead of mounting ISOs, which requires root, use isoinfo to extract files.
This makes it possible to install a VM from ISOs as non-root.

While working on this, I noticed the recent StringIO change seems to have
broken installing from ISOs. The problem seems to be that _grabber() is also
used for extracting binaries, which io.StringIO doesn't handle.

Andrew Wong (2):
  virtinst: Fix _URLFetcher for reading files
  virtinst: Use isoinfo to extract files from ISOs

 virtinst/urlfetcher.py | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)

-- 
2.14.1




More information about the virt-tools-list mailing list