<div dir="ltr">You can also set up a passphrase less ssh identity on your control machine and propagate this identity as trusted identity to all the LXCs. Once you've done this, you can use parallel-ssh to execute concurrent commands. <div>
<br></div><div style>Masood</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 6:55 AM, Robin Monjo <span dir="ltr"><<a href="mailto:robin.monjo@applidget.com" target="_blank">robin.monjo@applidget.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
You can execute your program using chroot from the host :<br>
<br>
sudo chroot <rootfs_of_the_container> /bin/bash -c 'the command that will launch your program'<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Jun 25, 2013, at 3:45 PM, "ZHANG, Benlong" <<a href="mailto:zhangbl@act.buaa.edu.cn">zhangbl@act.buaa.edu.cn</a>> wrote:<br>
<br>
> Hi all,<br>
>     As the title shows, I have got 16 LXC containers prepared, and inside each container resides the same program<br>
> I wanna execute. But as the command lxc-execute can not run in background, I can not start the programs concurrently<br>
> with a SHELL script. So how can I get the 16 programs run concurrently?<br>
><br>
> Thanks.<br>
> ----------------------------------------------------<br>
> Benlong Zhang, Beihang University, Beijing China<br>
><br>
> ------------------------------------------------------------------------------<br>
> This SF.net email is sponsored by Windows:<br>
><br>
> Build for Windows Store.<br>
><br>
> <a href="http://p.sf.net/sfu/windows-dev2dev" target="_blank">http://p.sf.net/sfu/windows-dev2dev</a><br>
> _______________________________________________<br>
> Lxc-users mailing list<br>
> <a href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Windows:<br>
<br>
Build for Windows Store.<br>
<br>
<a href="http://p.sf.net/sfu/windows-dev2dev" target="_blank">http://p.sf.net/sfu/windows-dev2dev</a><br>
_______________________________________________<br>
Lxc-users mailing list<br>
<a href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
</div></div></blockquote></div><br></div>