# File lib/vagrant-libvirt/action/set_boot_order.rb, line 87
        def search_network(nets, xml)
          str = '/domain/devices/interface'
          str += "[(@type='network' or @type='udp' or @type='bridge')"
          unless nets.empty?
            str += " and source[@network='#{nets.first['network']}']"
          end
          str += ']'
          @logger.debug(str)
          xml.search(str)
        end