[virt-tools-list] virt-bootstrap proposal
Daniel P. Berrange
berrange at redhat.com
Thu Mar 16 10:04:24 UTC 2017
On Wed, Mar 15, 2017 at 07:24:13PM -0400, Cole Robinson wrote:
> Sorry for the delayed response. Just looked now.
> On 03/09/2017 05:09 AM, Cedric Bosdonnat wrote:
> > Hi all,
> > Those following libvirt's mailing already saw a similar thread started there.
> > I have worked on a virt-bootstrap tool to make it easy to instanciate
> > container root file system out of docker images (and possible other sources).
> > You'll see a wrap up blog post explaining the workflow here:
> > http://bosdonnat.fr/system-container-images.html
> > Daniel suggested to have the virt-bootstrap code (or whatever the final name
> > could be) along with virt-install and virt-manager.
> Besides being written in python and being virt related this doesn't have much
> overlap with virt-manager.git code. All current command line tools are largely
> concerned with manipulating/generating libvirt XML, and looks like
> virt-bootstrap won't ever do that? So for example it will have a completely
> orthogonal test suite. That's my initial impression anyways
Oh, I didn't look at the code, but I thought it was doing all the XML generation
too. ie populate the chroot and configure the libvirt guest in the same manner
that virt-install would do, and would hence benefit from sharing code.
> Right now the tool is basically just a wrapper around skopeo; besides handling
> virt-builder images, what else do you foresee the tool handling? Different
> formats, example command line arguments, etc. Just trying to get a sense of
> how much bigger the tool will get.
I'd expect it to be able to do bootstrapping of yum / dpkg into chroots at
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|
More information about the virt-tools-list