Subject: how can I issue command in vserver-guest?
From: Jarry <mr.jarry@gmail.com>
Date: Tue, 20 Apr 2010 19:23:48 +0200

Hi,
I am writing some script for monitoring my vserver-guests
and I would like to know if there is some script-way to run
commands inside of vserver-guests. I tried this:

#/bin/bash
vserver <name> enter; <command> ;logout

but it does not work. Script enters vserver-guest <name>
and waits there, doing nothing. I have to log out manually
and then <command> and <logout> is executed in vserver-host.

But what I expect from script is: to enter vserver-guest
<name>, run <command> there (in vserver-guest <name>),
and then return to vserver-host. How can I do it?

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.