One Comment

  1. Alternatively you can use the following sequence, which returns the IP addresses of all the VMs that are currently running:

    # Get the list of virtual networks

    virsh net-list

    # net-list returns the list of active networks. You’ll need to choose the one you want,
    # or just iterate through all of them with the next command:

    virsh net-dhcp-leases default

Leave a Reply

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