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

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to