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

Daniel P. Berrange berrange at redhat.com
Wed Sep 23 10:09:48 UTC 2015


On Wed, Sep 23, 2015 at 09:53:34AM +0200, Cédric Bosdonnat wrote:
> ---
>  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()

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list