[virt-tools-list] command line chroot in a VM
Stefan Bauer
stefan.bauer at cubewerk.de
Wed Sep 1 12:19:39 UTC 2010
Am 01.09.2010 11:08, Mihamina Rakotomandimby schrieb:
> Manao ahoana, Hello, Bonjour,
>
>>From the host, I would like to perform a batch operation on the guests.
> For example:
>
> # virsh list
> 1 001
> 2 002
> 3 003
>
> All guests are KVM, Debian Lenny
>
> I want to
>
> for GUEST in $(virsh list | awk '{<blah blah>}')
> do
> ????? ${GUEST} apt-get update
> ????? ${GUEST} apt-get upgrade
I would use pssh. Parallel SSH execution. To get a first idea:
http://www.linux.com/archive/feature/151340
Cheers
Stefan
--
Stefan Bauer -----------------------------------------
PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
-------- plzk.de - Linux - because it works ----------
More information about the virt-tools-list
mailing list