[Lxc-users] lxc-execute fails to exec lxc-init
Peter Gillard-Moss
pgillard at thoughtworks.com
Tue Mar 27 14:29:07 UTC 2012
On 27 March 2012 15:08, Serge Hallyn <serge.hallyn at 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.Jaekel at 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?
Peter
[1] https://help.ubuntu.com/community/CloudInit
--
Peter Gillard-Moss
Developer | ThoughtWorks Studios | Technical Solutions
http://www.thoughtworks-studios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120327/ff9c3269/attachment.html>
More information about the lxc-users
mailing list