command line chroot in a VM

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]