[Users] a simple utility to execute something on all VEs
Thorsten Schifferdecker
tsd at debian.systs.org
Thu Jan 3 17:40:19 EST 2008
Hi Gregor,
i suggest to use vzlist, insteed looking to /etc/vz/conf, so only
command will execute on running ve's and it's you dont like execute
command on VE 0, there's a 0.conf in /etc/vz/conf, too ;-)
# for veid in `vzlist -Hoveid`; do vzctl exec $veid <command>; done
Bye,
Thorsten
Gregor Mosheh wrote:
> http://wiki.openvz.org/ExecuteInAllVEs
>
> Simple but useful. If anybody has further enhancements, that'd be spiffy.
>
More information about the Users
mailing list