[lxc-devel] startup scripts for lxc containers?

Michael H. Warfield mhw at WittsEnd.com
Thu Jan 14 17:26:18 UTC 2010


On Thu, 2010-01-14 at 08:48 -0600, Dwight Schauer wrote: 
> 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.

+1

Big BIG +1.  More like a +++++++++1.  Need this.

> Dwight

Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20100114/8dd4e12a/attachment.pgp>


More information about the lxc-devel mailing list