Hello David,

if you are using Ubuntu, there is a possibility to define containers to
start up automatically:

--< https://help.ubuntu.com/12.04/serverguide/lxc.html >-------------
To register a container to start automatically, create a symbolic link 
/etc/default/lxc/name.conf pointing to the container's config file. For 
instance, the configuration file for a container CN is /var/lib/lxc/CN/config. 
To make that container auto-start, use the command:

sudo ln -s /var/lib/lxc/CN/config /etc/lxc/auto/CN.conf
--------------------------------------------------------------------

This static configuration does not recognize which containers were
running before.


Does this help?

- Moritz




Am Monday den 06. May 2013 schrieb David Parks:

> We just had a datacenter power failure, upon restart of course our LXC 
> containers were stopped. It would be just dandy if there were an LXC option 
> to restart the containers that were already running before the sudden failure.
> 
> Is there any such capability?

> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1

> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users


-- 
                           <\         __@  __@
                             \ __   _-\<, -\<,_
http://www.tandemblog.ch    0<==`-(-)/---|/-(_)

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to