About this list Date view Thread view Subject view Author view Attachment view

From: Herbert P÷tzl (herbert_at_13thfloor.at)
Date: Fri 11 Jul 2003 - 21:53:39 BST


On Fri, Jul 11, 2003 at 05:32:48PM +0100, Paul Sladen wrote:
> On Fri, 11 Jul 2003, Lars Braeuer wrote:
> > is it right that "vserver <name> exec <command>" only allows to execute one
> > command at a time.
>
> Think of it in the same way that you would use sudo.
>
> > vserver test01 exec test -e /file && cat /file
>
> So try:
>
> vserver test01 exec test -e /file && vserver test01 exec cat /file
>
> and hope that the vserver script is properly written to hand-back return
> codes and the like.

ever considered

 vserver TE01 exec bash -c "df ; df"

or

 vserver TE01 exec bash -c "test -e /file && cat /file"

?

best,
Herbert

>
> -Paul
> --
> War is inconsistent with Truth. Nottingham, GB


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 11 Jul 2003 - 22:06:18 BST by hypermail 2.1.3