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
for A in `virsh list --all | cut -d " " -f7 `;do echo $A ;virsh dumpxml $A | egrep "source file";done
Comments
Post a Comment