Quoting Daniel Lezcano ([email protected]):
> On 08/10/2011 06:56 PM, Remi Verchere wrote:
> >>> So, how can I migrate a container configuration managed by lxc tools
> >>> to libvirt ? Is there any tools or how-to?
> >> No. That could be very nice if we write a driver for libvirt for the lxc
> >> tools.
> >> If someone is willing to do that, that would be great :)
> > If I had such skills, it would be a pleasure ;)
> > Can I even use a container created with lxc tools with libvirt (using
> > hand-made config files) ?
> 
> Well, more or less. AFAIK, the lxc tools have a bit more container
> features than the libvirt has, especially on the network part.
> I think the created rootfs by lxc should work with libvirt with the
> right configuration.

It's not as polished as it should be, but when I have to do this I use:

http://s3hh.wordpress.com/2010/09/07/easier-creation-of-libvirt-lxc-containers/

It uses lxc-create to create the container, then defines it with the
libvirt lxc driver.  It still worked for me recently on oneiric...

-serge

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to