1 2 3 4 5 6 7 8 9
#! /bin/bash -x # # Prints the disk image for the vm ${VM} # # Usage: # ./print-image-file.sh <my-vm-name> VM=$1 virsh dumpxml ${VM} | grep 'source file'