Getting QEMU VM Interfaces

Quick script to list interface info for the VMs

#!/bin/bash
for vm in $(virsh list --name); do
    echo "Interfaces for VM: $vm"
    virsh domiflist "$vm"
    echo "--------------------------------"
done

Leave a Reply

Your email address will not be published. Required fields are marked *