On Mon, Oct 17, 2011 at 10:37:04PM +0200, Papp Tamas wrote: > On 10/17/2011 10:26 PM, Milos Negovanovic wrote: > > > >If I am not mistaken thats similar approach to using this script: > > > >http://pastie.org/2713689 > > > >Ive tried using that python script, but instead of shutting down my > >container restarts! Can you paste your container /etc/inittab by any > >chance? > > > > There is no inittab, Ubuntu and also CentOS 6 uses upstart. > I tried the python script, it just works fine. > > tamas
OK got it working by tweaking the following config file inside centos6 container: /etc/init/control-alt-delete.conf After I modified the behavior of ctrl-alt-del handling, container shuts down using that python script. Thanks for all the suggestions. :) Regards -- Milos Negovanovic [email protected] ------------------------------------------------------------------------------ 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
