On Mon, 2011-10-17 at 23:04 +0300, Iliyan ilf Stoyanov wrote:
Hi again,
what about lxc-execute?
br,
--ilf
Hi,
lxc-execute is the lxc-start variant to run application containers.
Use lxc-attach if you need to issue a command in an already running
container.
Cheers.
On Mon, 2011-10-17
On 10/17/2011 5:01 PM, Papp Tamas wrote:
On 10/17/2011 10:54 PM, Derek Simkowiak wrote:
/I tried the python script, it just works fine./
Q1: How does the kill -INT init method affect running processes,
especially MySQL and other databases that may need to shutdown
gracefully to avoid data
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
On 10/17/2011 10:02 PM, 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,
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?
/I tried the python script, it just works fine./
Q1: How does the kill -INT init method affect running processes,
especially MySQL and other databases that may need to shutdown
gracefully to avoid data corruption?
I believe that the child processes (incl. mysqld, apache, etc.)
On 10/17/2011 10:54 PM, Derek Simkowiak wrote:
/I tried the python script, it just works fine./
Q1: How does the kill -INT init method affect running processes,
especially MySQL and other databases that may need to shutdown
gracefully to avoid data corruption?
I believe that the
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
On 10/17/2011 11:05 PM, Milos Negovanovic wrote:
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