[Lxc-users] [Spam-Wahrscheinlichkeit=54]Re: lxc-execute fails to exec lxc-init

Jäkel, Guido G.Jaekel at dnb.de
Tue Mar 27 14:24:09 UTC 2012


>I know this is digression but I wondered if you could expand on this?
>
>Perhaps if I explained our use case and tell me if I'm doing the right thing?
>
>1.	We create a new container
>2.	We want to bootstrap it with a puppet script (apt-get install puppet && puppet apply script.pp)
>
>We see two options for this:
>
>1.	lxc-execute
>2.	issue a remote ssh command.

Dear Peter,

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.

Guido





More information about the lxc-users mailing list