[libvirt] [sandbox v2 2/5] virt-image-sandbox: tarball extracting function to be reusable

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


On Mon, Oct 05, 2015 at 04:37:56PM +0200, Cédric Bosdonnat wrote:
> The virt-builder source will need this function too, let's move it to
> the Source abstraction for reusability. Note that the function now
> checks for tarball filename to end with ".gz" to add the proper
> tar option.
> ---
>  libvirt-sandbox/image/sources/DockerSource.py | 25 +++++--------------------
>  libvirt-sandbox/image/sources/Source.py       | 20 ++++++++++++++++++++
>  2 files changed, 25 insertions(+), 20 deletions(-)

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