Reviewed-by: Paulo Ricardo Paz Vital <pvital(a)linux.vnet.ibm.com>
On Apr 27 01:22PM, Jose Ricardo Ziviani wrote:
- there is an issue regarding libvirt socket permissions that make
libguestfs fails when trying to access an image. If libguestfs
access the same image directly, instead of using libvirt, it
works.
http://libguestfs.org/guestfs-faq.1.html
Signed-off-by: Jose Ricardo Ziviani <joserz(a)linux.vnet.ibm.com>
---
imageinfo.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/imageinfo.py b/imageinfo.py
index 8874917..5a25bb7 100644
--- a/imageinfo.py
+++ b/imageinfo.py
@@ -50,6 +50,7 @@ def probe_image(image_path):
g = guestfs.GuestFS(python_return_dict=True)
g.add_drive_opts(image_path, readonly=1)
+ g.set_backend('direct')
g.launch()
try:
roots = g.inspect_os()
--
2.7.4
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel