find source file in multiple VM's with Virsh

Virsh ... find disk image name from xml file.
for A in `virsh list --all | cut -d " " -f7 `;do echo $A ;virsh dumpxml $A | egrep "source file";done

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP