[libvirt] [sandbox v2 4/5] virt-sandbox-image: automatically call create if needed

Daniel P. Berrange berrange at redhat.com
Mon Oct 5 15:44:15 UTC 2015


On Mon, Oct 05, 2015 at 04:37:58PM +0200, Cédric Bosdonnat wrote:
> To provide a smooth user experience, run automatically calls create if
> needed.
> ---
>  libvirt-sandbox/image/cli.py                  |  5 +++++
>  libvirt-sandbox/image/sources/DockerSource.py | 19 +++++++++++++++++++
>  libvirt-sandbox/image/sources/Source.py       | 11 +++++++++++
>  3 files changed, 35 insertions(+)
> 
> diff --git a/libvirt-sandbox/image/cli.py b/libvirt-sandbox/image/cli.py
> index f067347..05d593a 100755
> --- a/libvirt-sandbox/image/cli.py
> +++ b/libvirt-sandbox/image/cli.py
> @@ -42,6 +42,7 @@ if os.geteuid() == 0:
>  else:
>      default_template_dir = os.environ['HOME'] + "/.local/share/libvirt/templates"
>      default_image_dir = os.environ['HOME'] + "/.local/share/libvirt/images"
> +default_format = "qcow2"

Left over from a previous version I presume.

ACK with that removed.

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