From Fedora Project Wiki

Actions:

1. get the MAC address of eth0

  # /sbin/ifconfig

2. using the MAC address to get the interface'name

  # virsh iface-name ${MAC}

3. loop step 1 and step 2 on all of physical network interfaces


Expected Results:

Step 2:

     get the name of network interface successfully