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.Received on Tue Apr 20 18:24:18 2010