[PATCH 2/5] Make images in raw format instead of qcow2.
Chris Lumens
clumens at redhat.com
Wed Nov 12 18:32:43 UTC 2014
This is needed for parted to be able to make a partition that covers the
entire device. It gets confused by the qcow2 format.
---
tests/gui/outside/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gui/outside/__init__.py b/tests/gui/outside/__init__.py
index 5c0f6db..07b8658 100644
--- a/tests/gui/outside/__init__.py
+++ b/tests/gui/outside/__init__.py
@@ -112,7 +112,7 @@ class Creator(object):
(fd, diskimage) = tempfile.mkstemp(dir=self.tempdir)
eintr_retry_call(os.close, fd)
- subprocess.call(["/usr/bin/qemu-img", "create", "-f", "qcow2", diskimage, "%sG" % size],
+ subprocess.call(["/usr/bin/qemu-img", "create", "-f", "raw", diskimage, "%sG" % size],
stdout=open("/dev/null", "w"))
self._drivePaths[drive] = diskimage
--
1.9.3
More information about the anaconda-patches
mailing list