[Lxc-users] shutting down CentOS6 container

Iliyan ilf Stoyanov ilf at ilf.me
Mon Oct 17 20:04:32 UTC 2011


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






More information about the lxc-users mailing list