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

2014-03-06 Thread Serge Hallyn
Quoting Du Jun (dj199...@gmail.com): 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* However, I

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

2014-03-06 Thread Daniel P. Berrange
On Thu, Mar 06, 2014 at 08:31:16AM -0600, Serge Hallyn wrote: Quoting Du Jun (dj199...@gmail.com): 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:///

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

2014-03-06 Thread Daniel P. Berrange
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

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

2014-03-06 Thread Serge Hallyn
Quoting Daniel P. Berrange (berra...@redhat.com): On Thu, Mar 06, 2014 at 08:31:16AM -0600, Serge Hallyn wrote: Quoting Du Jun (dj199...@gmail.com): Hi, all, I used lxc-tools to create a linux container. I am trying to transfrom LXC container configuration into a domain XML fragment

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

2014-03-06 Thread Daniel P. Berrange
On Thu, Mar 06, 2014 at 08:50:46AM -0600, Serge Hallyn wrote: Quoting Daniel P. Berrange (berra...@redhat.com): On Thu, Mar 06, 2014 at 08:31:16AM -0600, Serge Hallyn wrote: Quoting Du Jun (dj199...@gmail.com): Hi, all, I used lxc-tools to create a linux container. I am trying to

Re: [lxc-users] shared mount and umount propogation.

2014-03-06 Thread Serge Hallyn
Quoting Vijay Viswanathan (vijay.vi...@gmail.com): isnt --make-rbind and -rbind the same ? anyways, I think understood the rslave concept. You want me make a slave mount (e.g., /mnt ) of some original share mount ( e.g., /media ) and expose only /mnt in the lxc conf right ? But the

Re: [lxc-users] lxc-stop doesn't stop centos, waits for the timeout

2014-03-06 Thread Michael H. Warfield
On Fri, 2014-02-21 at 10:24 -0500, Stéphane Graber wrote: On Fri, Feb 21, 2014 at 11:22:18AM +0100, Harald Dunkel wrote: Found it: upstart ignores SIGPWR by default. Fix: cat EOF /etc/init/power-status-changed.conf # power-status-changed - shutdown on SIGPWR # start on