[libvirt] [sandbox 04/11] virt-sandbox-image: remove undefined default_disk_format

Cédric Bosdonnat cbosdonnat at suse.com
Wed Sep 23 07:53:34 UTC 2015


---
 libvirt-sandbox/image/sources/DockerSource.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-sandbox/image/sources/DockerSource.py b/libvirt-sandbox/image/sources/DockerSource.py
index ab0b765..6c02cc3 100644
--- a/libvirt-sandbox/image/sources/DockerSource.py
+++ b/libvirt-sandbox/image/sources/DockerSource.py
@@ -243,7 +243,7 @@ class DockerSource(Source):
 
     def create_template(self, template, templatedir, connect=None, format=None):
         if format is None:
-            format = self.default_disk_format
+            format = "qcow2"
         self._check_disk_format(format)
         imagelist = self._get_image_list(template, templatedir)
         imagelist.reverse()
-- 
2.1.4




More information about the libvir-list mailing list