Subject: Re: [vserver] dumb scripting question
From: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
Date: Wed, 21 Oct 2009 21:06:42 -0400

On Wed, 2009-10-21 at 23:58 +0100, Ed W wrote:
> Hi, this is probably a fairly dim shell question, but how do the 
> following (in a way which works)
> 
> vserver guest1 exec something && else
> 
> Where obviously I want something and else to both run in the guest1 
> instance?  At least running the above in bash lets the shell grab the && 
> and effectively the bit after the && is run on the host?
> 
> Thanks
> 
> Ed W
Perhaps I'm missing the point but, if all else fails, why not simply:
vserver guest1 exec something && vserver guest1 exec else
?

I suppose that assumes vserver returns the result of exec something -
John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society