Hi Milos,

have you tried doing lxc-console --name $NAME_OF_YOUR_CENTOS6_CONTAINER,
then loging in and issuing shutdown -h now. It works for me on Fedora
15/SL6.1.

BR,
--ilf 

On Mon, 2011-10-17 at 20:23 +0100, Milos Negovanovic wrote:
> Hi all,
> 
> Ive managed to setup centos6 running inside the container but one thing
> I cant figure out is how to shutdown container from the host. With
> debian I would just chroot into container rooot fs and issue shutdown
> command and that works perfectly. With centos that shuts down or
> restarts the host OS (which is centos6 as well). Ive seen this question
> was asked before, in slightly different form, was just wondering if
> there were any new developments in this area and what are people using
> to shutdown their containers from the host, especially centos6 containers.
> 
> Regards



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to