[lxc-devel] startup scripts for lxc containers?

Dwight Schauer dschauer at gmail.com
Thu Jan 14 14:48:57 UTC 2010


On Thu, Jan 14, 2010 at 8:33 AM, Michael Tokarev <mjt at tls.msk.ru> wrote:
> Maybe you're talking about changing sys_reboot() to
> something more sensible for a container?

I would like at least config option that would allow a container's
halt or reboot (using a regular init in the container) to allow to
container to shutdown and lxc-start exit, returning a status as to
whether a halt/reboot was done, so that a startup script could take
appropriate action. Or maybe just allow a reboot from within the
container to do just that.

Dwight




More information about the lxc-devel mailing list