On 27 March 2012 12:42, Fajar A. Nugraha <l...@fajar.net> wrote:

> IMHO lxc-execute should come with a BIG warning "DON'T USE UNLESS YOU
> REALLY KNOW WHAT YOU'RE DOING!" :P
>

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.

To do 2) in an automated fashion we have to automatically authorize the
hosts private key (we do that by simply copying it to
/var/lib/lxc/$host/root/.ssh/authorized_keys).
------------------------------------------------------------------------------
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

Reply via email to