Quoting Peter Gillard-Moss (pgill...@thoughtworks.com): > On 27 March 2012 15:08, Serge Hallyn <serge.hal...@canonical.com> wrote: > > > Another option would be to copy an upstart or sysvinit script into > > /var/lib/lxc/$host/root/etc/init{,.d}/ which does your bootstrapping > > and removes itself when done. Then just lxc-start the container. > > > > > > On 27 March 2012 15:24, Jäkel, Guido <g.jae...@dnb.de> wrote: > > > if it's the common way you want to setup&bootstrap a new container, maybe > > you can -- as a third way -- inject a (self-deleting?) script into the > > containers filesystem before the first start. > > > This sounds sensible, similar to CloudInit[1]. Might be a consideration in > installing/forking as part of the lxc templates?
Yes, we want to add a 'firstboot' option to the templates, as well as a pre-boot script akin to an initrd to set things up before init gets executed. -serge ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users