[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] command line chroot in a VM



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
 done

And then I just have to *read* and answer "yes" or "no" to the apt
questions.

The host is a Debian Lenny, but I can backport some packages if needed.

What would be your suggestions?
- libguestfs? (I see an unstable debian package existing)
- ...?

Misaotra, Thanks, Merci.

-- 

       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                                    +261 34 56 000 19


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]