[lxc-devel] what happened to the autostart proposals?

Natanael Copa ncopa at alpinelinux.org
Sun Oct 20 10:21:29 UTC 2013


On Fri, 18 Oct 2013 15:17:22 -0400
Stéphane Graber <stgraber at ubuntu.com> wrote:

> On Fri, Oct 18, 2013 at 08:26:53PM +0200, Harald Dunkel wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> > 
> > Hi folks,
> > 
> > there were several proposals on this mailing list about how
> > to start and stop a group of LXC containers, e.g. at boot or
> > shutdown time.
> > 
> > Are there any news about this?
> > 
> > 
> > Regards
> > Harri
> 
> I've been (slowly) working on that. I have a local branch here that adds
> all the needed options and Serge implemented the functions I needed to
> list all the containers 

I would think that this functionallity is all that is needed to be
useful. An initscript could do something like:

for container in $(lxc_list_containers_to_autostart); do
	lxc-start -n $container ...
done

> so I just need to find the time to write the
> changes for lxc-start and lxc-stop and then we can land this upstream.


-nc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131020/e3232e12/attachment.pgp>


More information about the lxc-devel mailing list