Commit 8ec4da46 authored by Nikos Skalkotos's avatar Nikos Skalkotos

Enforce raw img format in libguestfs

Don't let libguestfs guess the format of the provided image. Enforce
it to treat the image as raw.
parent e982b634
......@@ -210,7 +210,7 @@ class DiskDevice(object):
self.size = 0
self.g = guestfs.GuestFS()
self.g.add_drive_opts(self.real_device, readonly=0)
self.g.add_drive_opts(self.real_device, readonly=0, format="raw")
# Before version 1.17.14 the recovery process, which is a fork of the
# original process that called libguestfs, did not close its inherited
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment