Skip to content
Snippets Groups Projects
Commit 8ec4da46 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

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
No related branches found
Tags 0.6.2
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment