Hi again,

what about lxc-execute?

br,
--ilf

On Mon, 2011-10-17 at 21:02 +0100, Milos Negovanovic wrote:
> On Mon, Oct 17, 2011 at 10:36:24PM +0300, Iliyan ilf Stoyanov wrote:
> > 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 
> 
> I am looking for a way to automatically shutdown container. Something I
> can use from my rc scripts on the host to orderly shutdown containers on
> host OS reboot/shutdown. I know I can ssh into the container and issue
> shutdown command, that works, but thats not what I am looking for.
> 
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to