[lxc-users] Fail to convert LXC container configuration into a domain XML fragment

Daniel P. Berrange berrange at redhat.com
Thu Mar 6 14:48:39 UTC 2014


On Thu, Mar 06, 2014 at 02:26:06PM +0800, Du Jun wrote:
> Hi, all,
> I used lxc-tools to create a linux container. I am trying to transfrom LXC
> container configuration into a domain XML fragment using the following
> command:
> 
> *$ virsh -c lxc:/// domxml-from-native lxc /var/lib/lxc/my_conatiner/config*

As I replied on the libvirt-users mailing list, you need 'lxc-tools'
here rather than just 'lxc'.  or future reference, with questions about
libvirt it is preferrable to just use the the libvirt-users mailing list,
since the developers on this list aren't typically familiar with details
of libvirt's implementation and so this just creates noise for them.

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 lxc-users mailing list